using a launcher to run a script
marc jackson
dechon at hotmail.com
Tue Jun 3 21:36:46 UTC 2008
I'm trying to run a shell script on 7.04 & 7.10.
The script is kept in /etc/init.d. Let's call it foo.
#!/bin/sh
sudo /etc/init.d/foo stop
rm -rf /var/tmp/*
sudo /etc/init.d/foo start
# end of script
This script runs fine from the command line. It doesn't from a launcher. Yes, I've told it to run in a terminal.
Your help would be greatly appreciated.
_________________________________________________________________
Enjoy 5 GB of free, password-protected online storage.
http://www.windowslive.com/skydrive/overview.html?ocid=TXT_TAGLM_WL_Refresh_skydrive_062008
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080603/057d6929/attachment.html>
More information about the ubuntu-users
mailing list