mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 23:18:42 +01:00
attendedsysupgrade-common: add package
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>
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user