mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
attendedsysupgrade-common: add package
This package provides the UCI config shared by both, the CLI and Web clients used for attended-sysupgrade. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
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