packages/utils/rpcd-mod-attendedsysupgrade/files/attendedsysupgrade.defaults
Paul Spooren 593d5dcf8e rpcd-mod-attendedsysupgrade: uci update_packages
add uci option to set "update_packages". this options will lead the
luci-app-attendedsysupgrade to tell the update server to check for
package updates as well (not only release upgrades)

Signed-off-by: Paul Spooren <paul@spooren.de>
2017-08-15 13:54:35 +02:00

17 lines
387 B
Bash

#!/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