Make sure the greeting for configure stormux only appears on the tty where it spawns.
This commit is contained in:
parent
2af9365e22
commit
cdfd1d31a2
@ -1,6 +1,18 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
if [[ "$(tty)" = "/dev/tty1" ]]; then
|
if [[ "$(tty)" = "/dev/tty1" ]]; then
|
||||||
configure-stormux
|
cat << "EOF"
|
||||||
rm /etc/profile.d/stormux_first_boot.sh
|
Hello, and welcome to Stormux!
|
||||||
|
|
||||||
|
Let's get you set up. After you press enter, you will be prompted for the sudo password.
|
||||||
|
When that happens, type the word stormux and press enter.
|
||||||
|
You will not receive any speech feedback for this process.
|
||||||
|
That is completely normal, and speech will return after you have typed the password.
|
||||||
|
Once again, the password is stormux in all lower case letters.
|
||||||
|
|
||||||
|
Please press enter to continue.
|
||||||
|
EOF
|
||||||
|
read -r
|
||||||
|
sudo configure-stormux
|
||||||
|
sudo rm -- "$0"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user