summaryrefslogtreecommitdiff
path: root/updater-ng/files/uci-defaults
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2022-03-11 11:45:26 +0100
committerKarel Kočí <cynerd@email.cz>2022-03-11 11:45:26 +0100
commit403d4e98cadc69a238060cce2614537f94a76ba9 (patch)
tree2c2d5aad6635b564f8a13620de7adddbb523fb65 /updater-ng/files/uci-defaults
parent7abc9df811cbf5f74d5d9f56dfc4f1fb906ca84d (diff)
downloadopenwrt-personal-pkgs-403d4e98cadc69a238060cce2614537f94a76ba9.tar.gz
openwrt-personal-pkgs-403d4e98cadc69a238060cce2614537f94a76ba9.tar.bz2
openwrt-personal-pkgs-403d4e98cadc69a238060cce2614537f94a76ba9.zip
updater-ng: remove for now as I do not need it right now
Diffstat (limited to 'updater-ng/files/uci-defaults')
-rw-r--r--updater-ng/files/uci-defaults16
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