Author: toad
Date: 2008-05-01 15:13:00 +0000 (Thu, 01 May 2008)
New Revision: 19650

Modified:
   trunk/apps/new_installer/res/unix/bin/remove_cronjob.sh
Log:
Really fix remove_cronjob.sh.

Modified: trunk/apps/new_installer/res/unix/bin/remove_cronjob.sh
===================================================================
--- trunk/apps/new_installer/res/unix/bin/remove_cronjob.sh     2008-05-01 
15:06:24 UTC (rev 19649)
+++ trunk/apps/new_installer/res/unix/bin/remove_cronjob.sh     2008-05-01 
15:13:00 UTC (rev 19650)
@@ -1,7 +1,7 @@
 #!/bin/sh

 crontab -l > crontab.tmp
-if grep -F crontab.tmp "@reboot   \"$INSTALL_PATH/run.sh\" start"
+if grep -F "@reboot   \"$INSTALL_PATH/run.sh\" start" crontab.tmp
 then
        echo Found service in crontab, removing it...
        cat crontab.tmp | grep -v -F "@reboot   \"$INSTALL_PATH/run.sh\" start" 
- > crontab.tmp.new


Reply via email to