Skip to content
Snippets Groups Projects
Unverified Commit a27edd4b authored by Matthias Schiffer's avatar Matthias Schiffer Committed by GitHub
Browse files

Merge pull request #2459 from ffgraz/cm

gluon-setup-mode: add gluon-enter-setup-mode
parents 19923831 1d7d50cf
No related branches found
No related tags found
No related merge requests found
...@@ -6,9 +6,7 @@ wait=3 ...@@ -6,9 +6,7 @@ wait=3
wait_setup_mode() { wait_setup_mode() {
sleep $wait sleep $wait
uci set 'gluon-setup-mode.@setup_mode[0].enabled=1' gluon-enter-setup-mode
uci commit gluon-setup-mode
reboot
} }
......
#!/bin/sh
set -euo pipefail
echo "Entering setup mode and rebooting..."
uci set gluon-setup-mode.@setup_mode[0].enabled='1'
uci commit gluon-setup-mode
reboot
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment