sats.sysd fix @2
This commit is contained in:
parent
edd1e8700e
commit
6a83f4021a
|
@ -25,16 +25,16 @@ while sleep 1; do
|
|||
serv="`basename $i`";
|
||||
|
||||
if [ "$status" = "failed" ]; then
|
||||
echo -n "SYSD0$serv" >> $BUF_OUT;
|
||||
echo "SYSD0$serv" >> $BUF_OUT;
|
||||
|
||||
elif [ "$status" = "inactive" ]; then
|
||||
echo -n "SYSD1$serv" >> $BUF_OUT;
|
||||
echo "SYSD1$serv" >> $BUF_OUT;
|
||||
|
||||
elif [ "$status" = "activating" ]; then
|
||||
echo -n "SYSD2$serv" >> $BUF_OUT;
|
||||
echo "SYSD2$serv" >> $BUF_OUT;
|
||||
|
||||
elif [ "$status" = "active" ]; then
|
||||
echo -n "SYSD3$serv" >> $BUF_OUT;
|
||||
echo "SYSD3$serv" >> $BUF_OUT;
|
||||
|
||||
fi;
|
||||
|
||||
|
|
Loading…
Reference in New Issue