You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
387 B

#!/bin/sh
[ -e /etc/config/attendedsysupgrade ] && exit 0
touch /etc/config/attendedsysupgrade
uci -q batch <<EOF
set attendedsysupgrade.updateserver=updateserver
set attendedsysupgrade.updateserver.url='https://betaupdate.libremesh.org'
set attendedsysupgrade.updateclient=updateclient
set attendedsysupgrade.updateclient.update_packages='1'
commit attendedsysupgrade
EOF
exit 01