Files
packages/utils/rpcd-mod-attendedsysupgrade/files/attendedsysupgrade.defaults
T
Paul SpoorenandJo-Philipp Wich f6c287f1ee add ubus call to perform a sysupgrade and acl file for the attended
sysupgrade use case as well uci defaults.
Package is a part of the GSoC 17 project implementing easy
sysupgrade functionality.

Signed-off-by: Paul Spooren <paul@spooren.de>

(cherry picked from commit f9a6c81c11)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-10-20 15:02:01 +02:00

14 lines
271 B
Bash

#!/bin/sh
[ -e /etc/config/attendedsysupgrade ] && exit 0
touch /etc/config/attendedsysupgrade
uci -q batch <<EOF
add attendedsysupgrade settings
set attendedsysupgrade.@settings[0].update_server=https://betaupdate.libremesh.org
commit attendedsysupgrade
EOF
exit 01