ca37f2036c
posix-sh does not support pipefail this way
9 lines
151 B
Bash
Executable File
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
|