Updated first boot script.
This commit is contained in:
parent
16ae09c86d
commit
901d5cdb7a
@ -1,5 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [[ -x /opt/configure-stormux/configure-stormux.sh ]]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if ! [[ -x /opt/configure-stormux/configure-stormux.sh ]]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [[ "$(tty)" = "/dev/tty1" ]]; then
|
||||
cat << "EOF"
|
||||
Hello, and welcome to Stormux!
|
||||
@ -14,5 +22,4 @@ Please press enter to continue.
|
||||
EOF
|
||||
read -r
|
||||
sudo configure-stormux
|
||||
sudo rm -- "/etc/profile.d/stormux_first_boot.sh"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user