<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
I'm trying to run a shell script on 7.04 & 7.10.<br><br>The script is kept in /etc/init.d. Let's call it foo.<br><br>#!/bin/sh<br><br>sudo /etc/init.d/foo stop<br><br>rm -rf /var/tmp/*<br><br>sudo /etc/init.d/foo start<br><br># end of script<br><br>This script runs fine from the command line. It doesn't from a launcher. Yes, I've told it to run in a terminal.<br><br>Your help would be greatly appreciated.<br><br /><hr />Enjoy 5 GB of free, password-protected online storage. <a href='http://www.windowslive.com/skydrive/overview.html?ocid=TXT_TAGLM_WL_Refresh_skydrive_062008' target='_new'>Get Windows Live SkyDrive.</a></body>
</html>