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
437 B

#!/bin/sh
[ -e /etc/config/attendedsysupgrade ] && return 0
touch /etc/config/attendedsysupgrade
uci -q batch <<EOF
set attendedsysupgrade.server=server
set attendedsysupgrade.server.url='https://sysupgrade.openwrt.org'
set attendedsysupgrade.client=client
set attendedsysupgrade.client.upgrade_packages='1'
set attendedsysupgrade.client.auto_search='0'
set attendedsysupgrade.client.advanced_mode='0'
commit attendedsysupgrade
EOF