do not require the device to be present in the connect script.

This commit is contained in:
Nikos Mavrogiannopoulos
2014-04-15 11:34:17 +02:00
parent 392c6a0178
commit 276bdd49d1
+3 -3
View File
@@ -8,10 +8,10 @@ case "$REASON" in
;; ;;
disconnect) disconnect)
if ! test -z "$DEVICE";then if ! test -z "$DEVICE";then
ifconfig $DEVICE #ifconfig $DEVICE
if test "$?" = "0";then #if test "$?" = "0";then
echo > disconnect.ok echo > disconnect.ok
fi #fi
fi fi
;; ;;
esac esac