I want to do some things when linux first starts up. I wrote a really simple script just as a basic test to make sure I knew what I was doing before I proceeded any further. But, even my simple script is giving me fits!
Now, this script runs just fine when I run it in Geany. I get the splash text and a bash window that shows my prompt.
But, when I copy this script to /root/Startup, when I boot, I get the splash text, but NO bash window. My splash text appears until I close it, and then nothing else happens.
How do I get the bash window to appear showing my "Continue?" prompt?
Code: Select all
#!/bin/bash
gtkdialog-splash -bg green -close box -text " This is a test... " > /dev/null 2>&1
read -p " Continue? " -n1 yesno
exit