i managed to pull this non-orthodox code out...
im not too familiar yet with bash shell scripting.
i used mcedit to code it.
it seems tought that if at line 1
i put "exitloop = 0" instead of
"exitloop=0" it tells me it cant find
program or function exitloop wich is rathre
weird.
at line 3 i've specified the programs i want it to
run.i like it allot now i dont know if it will be
displayed if i put it in $KDEHOME/env/ because
it must be displayed in order for the user to be able
to choose
Code:
#!/bin/bash
echo "------rapid startup program-----------"
exitloop=0; #line 1
until [ "$exitloop" = "1" ]; do
read choice
if [ "$choice" = "y" ]; then
gaim & \
/home/stef/Desktop/firefox/firefox &\
sylpheed &\
dcgui-qt
echo "rapid startup-succes" # line3
else
if [ "$choice" = "n" ]; then
echo "nothing executed"
exitloop=1;
else
echo "error at option input"
fi
fi
done
echo "------terminated-----------------------"