due to various clients and the existence of rpcd-mod-rpcsys the package rpcd-mod-attendedsysupgrade is superflous. From now on the attendedsysupgrade-common package should be dependencie of all kinds of clients. Currently active or planned: - luci-app-attendedsysupgrade - attendedsysupgrade cli in shell - attendedsysupgrade cli in c Signed-off-by: Paul Spooren <paul@spooren.de>
17 lines
426 B
Bash
17 lines
426 B
Bash
#!/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://example.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
|