summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Sivak <msivak@redhat.com>2009-08-04 13:12:37 +0200
committerMartin Sivak <msivak@redhat.com>2009-08-04 13:12:37 +0200
commit1b6792e8b1adbb8d8024c10aaa7a0471f2a8d503 (patch)
tree073d4315005c98bc6a57b3c3a6408dc0761b37fe
parent93fd82e94c8d315e12b3ad57e9c7b4980ab1a53b (diff)
downloadfirstaidkit-1b6792e8b1adbb8d8024c10aaa7a0471f2a8d503.tar.gz
firstaidkit-1b6792e8b1adbb8d8024c10aaa7a0471f2a8d503.tar.xz
firstaidkit-1b6792e8b1adbb8d8024c10aaa7a0471f2a8d503.zip
Make some small fixes in behaviour of the quick start script
-rwxr-xr-xfirstaidkit-qs5
1 files changed, 4 insertions, 1 deletions
diff --git a/firstaidkit-qs b/firstaidkit-qs
index cbdae59..db25e0e 100755
--- a/firstaidkit-qs
+++ b/firstaidkit-qs
@@ -13,7 +13,7 @@ else
fi
OPTION=""
-TMPFILE="/tmp/$0-$$.item"
+TMPFILE="/tmp/$(basename $0)-$$.item"
TITLE="First Aid Kit quickstart menu"
WIDTH="45"
@@ -32,12 +32,15 @@ while [ "x$OPTION" == "x" ]; do
if [ "x$OPTION" == "xshell" ]; then
echo "Starting shell..."
bash
+ OPTION=""
elif [ "x$OPTION" == "xfakd" ]; then
echo "Running diagnostic..."
firstaidkit -a
pause
+ OPTION=""
elif [ "x$OPTION" == "xreboot" ]; then
reboot
+ OPTION=""
fi
done