Compare commits
No commits in common. "1e2459831627f28542b6e047a1d356aa3fbd7d1d" and "16ae09c86df1bec38f437111f9e12b4b9c9e32c5" have entirely different histories.
1e24598316
...
16ae09c86d
@ -1,13 +1,5 @@
|
|||||||
#!/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!
|
||||||
@ -22,4 +14,5 @@ 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,6 +54,8 @@ 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