gluon/package/gluon-setup-mode/files/usr/bin/gluon-enter-setup-mode
aiyion.prime ca37f2036c gluon-enter-setup-mode: remove unused pipefail
posix-sh does not support pipefail this way
2022-06-22 14:58:30 +02:00

9 lines
151 B
Bash
Executable File

#!/bin/sh
set -eu
echo "Entering setup mode and rebooting..."
uci set gluon-setup-mode.@setup_mode[0].enabled='1'
uci commit gluon-setup-mode
reboot