Archived
1
0
Fork 0

FreeBSD ...

This commit is contained in:
Mercier Pierre-Olivier 2013-11-03 01:06:51 +01:00
parent edcb3adf6d
commit 6d9af44499

View file

@ -57,12 +57,7 @@ then
# Kill old liblersorf screen sessions # Kill old liblersorf screen sessions
if [ "$HOSTNAME" = "ksh" ] if [ "$HOSTNAME" = "ksh" ]
then then
$SCREEN -ls | $GREP '[0-9]+\.lerdorf_[a-zA-Z0-9_-]+' | killall screen
while read LINE
do
SNAME=`echo $LINE | $SED "s/^[^0-9]*([0-9]+\.[^ \t]+).*$/\1/"`
$SCREEN -S "$SNAME" -X kill
done
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