Archived
1
0

FreeBSD...

This commit is contained in:
Mercier Pierre-Olivier 2013-11-03 01:51:34 +01:00
parent aa71e36f8b
commit 89167d47d2

View File

@ -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