Compare commits
2 Commits
16ae09c86d
...
1e24598316
Author | SHA1 | Date | |
---|---|---|---|
|
1e24598316 | ||
|
901d5cdb7a |
@ -1,5 +1,13 @@
|
|||||||
#!/usr/bin/env bash
|
#!/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
|
if [[ "$(tty)" = "/dev/tty1" ]]; then
|
||||||
cat << "EOF"
|
cat << "EOF"
|
||||||
Hello, and welcome to Stormux!
|
Hello, and welcome to Stormux!
|
||||||
@ -14,5 +22,4 @@ Please press enter to continue.
|
|||||||
EOF
|
EOF
|
||||||
read -r
|
read -r
|
||||||
sudo configure-stormux
|
sudo configure-stormux
|
||||||
sudo rm -- "/etc/profile.d/stormux_first_boot.sh"
|
|
||||||
fi
|
fi
|
||||||
|
@ -54,8 +54,6 @@ echo "If you would like more options, run configure-stormux,"
|
|||||||
echo "or you may configure your system manually."
|
echo "or you may configure your system manually."
|
||||||
echo
|
echo
|
||||||
echo "Thank you for choosing Stormux."
|
echo "Thank you for choosing Stormux."
|
||||||
echo
|
|
||||||
echo "Removing first run script..."
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user