diff options
Diffstat (limited to 'updater-ng/files/uci-defaults')
-rw-r--r-- | updater-ng/files/uci-defaults | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/updater-ng/files/uci-defaults b/updater-ng/files/uci-defaults deleted file mode 100644 index 63fe73b..0000000 --- a/updater-ng/files/uci-defaults +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh -set -eu - -# bootstrap file is created to store content of BOOTSTRAP_UPDATER_BRANCH -# environment variable, if defined, when updater is run in out root mode (the way -# bootstrap is performed). -# BOOTSTRAP_UPDATER_BRANCH contains simply target branch for updater (eg. HBL or HBD). -bootstrap="/usr/share/updater/bootstrap-updater-branch" - -if [ -f "$bootstrap" ]; then - uci -q batch <<-EOF - set updater.turris.branch='$(cat "$bootstrap")' - commit updater.turris.branch - EOF - rm -f "$bootstrap" -fi |