Search Results

Search: Posts Made By: NewCannon
1,812
Posted By NewCannon
I use Debian 7.2
I use Debian 7.2
1,812
Posted By NewCannon
ok i changed it to: #!/bin/sh stop() { ...
ok i changed it to:
#!/bin/sh

stop()
{
echo "Killing old shoutcast servers in $1"
for oldpid in `ps -A | grep "$1" | grep "sc_serv" | cut -c 0-6`
do
kill -9 $oldpid
done
rm -f...
1,812
Posted By NewCannon
Sh Script whats wrong?
Hi there,

i have a problem i have created followning sh files some years ago but now it dosen`t work anymore i never used it a long time. Can anyone find the Error? Its always runs the stop()...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 11:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy