FreeBSD...
This commit is contained in:
parent
aa71e36f8b
commit
89167d47d2
@ -57,7 +57,12 @@ then
|
|||||||
# Kill old liblersorf screen sessions
|
# Kill old liblersorf screen sessions
|
||||||
if [ "$HOSTNAME" = "ksh" ]
|
if [ "$HOSTNAME" = "ksh" ]
|
||||||
then
|
then
|
||||||
killall sh
|
for i in `pgrep sh`
|
||||||
|
do
|
||||||
|
if [ "$$" != "$i" ]
|
||||||
|
then
|
||||||
|
pkill "$i"
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
echo "$SCREEN -ls" | $SU intradmin | $GREP '[0-9]+\.lerdorf_[a-zA-Z0-9_-]+' |
|
echo "$SCREEN -ls" | $SU intradmin | $GREP '[0-9]+\.lerdorf_[a-zA-Z0-9_-]+' |
|
||||||
while read LINE
|
while read LINE
|
||||||
|
Reference in New Issue
Block a user