Getting rid of tabs.

This commit is contained in:
Elijah Perrault committed 2011-02-20 20:46:10 -07:00
1 parent ad799a32a2
commit cc1c8fd5bc
20 files changed
+1279 -1277

No files matched your search

+27 -27
View File
@@ -8,46 +8,46 @@ PID=bin/auto.pid
MODS="Class::Unload DBI"
if [ "$1" = "start" ] ; then
if [ -e $PID ]; then
if [ "$2" = "force" ]; then
echo "Starting Auto. . ."
bin/auto
sleep 2
if [ ! -r $PID ]; then
echo "Possible failed startup... check Auto logs for more information."
fi
ssssif [ -e $PID ]; then
ssss if [ "$2" = "force" ]; then
ssss echo "Starting Auto. . ."
ssss bin/auto
ssss sleep 2
ssss if [ ! -r $PID ]; then
ssss echo "Possible failed startup... check Auto logs for more information."
ssss fi
else
echo "Auto appears to be running already. Run ./auto start force to start anyway."
fi
else
echo "Starting Auto. . ."
bin/auto
sleep 2
if [ ! -r $PID ]; then
echo "Possible failed startup... check Auto logs for more information"
fi
fi
sssselse
ssss echo "Starting Auto. . ."
ssss bin/auto
ssss sleep 2
ssss if [ ! -r $PID ]; then
ssss echo "Possible failed startup... check Auto logs for more information"
ssss fi
ssssfi
elif [ "$1" = "stop" ]; then
echo "Stopping Auto. . ."
kill -TERM `cat $PID`
ssssecho "Stopping Auto. . ."
sssskill -TERM `cat $PID`
elif [ "$1" = "rehash" ]; then
echo "Rehashing Auto. . ."
kill -HUP `cat $PID`
ssssecho "Rehashing Auto. . ."
sssskill -HUP `cat $PID`
elif [ "$1" = "status" ]; then
if [ -e $PID ]; then
echo "Status: Auto appears to be running."
else
echo "Status: Auto appears to not be running."
fi
ssssif [ -e $PID ]; then
ssss echo "Status: Auto appears to be running."
sssselse
ssss echo "Status: Auto appears to not be running."
ssssfi
elif [ "$1" = "getmodules" ]; then
cpan -i $MODS
sssscpan -i $MODS
else
echo "Usage: auto (start|stop|rehash|status|getmodules)"
ssssecho "Usage: auto (start|stop|rehash|status|getmodules)"
fi
# vim: set ai sw=4 ts=4: