]> git.ipfire.org Git - thirdparty/HylaFAX.git/commitdiff
Revert the fuser "behaviour reversal"
authorAidan Van Dyk <aidan@ifax.com>
Mon, 26 Nov 2007 14:11:17 +0000 (14:11 +0000)
committerAidan Van Dyk <aidan@ifax.com>
Mon, 26 Nov 2007 14:11:17 +0000 (14:11 +0000)
Lee switched the default behaviour of the fuser usage, and the -f switch:
| commit c4af11737e331521d76aff106e7146078006efc2
| Author: Lee Howard <faxguy@howardsilvan.com>
| Date:   Tue Oct 2 23:19:55 2007 +0000
|
|    More full-device-name-path support.

Which was included in our sync...  Revert this specific part of the change.

etc/probemodem.sh.in

index c9a3be5fdec59a509ad67d3bdae314cf8ef3a5ab..62b30b26731fde4cf4bd035be09cd0ffa2b4e363 100644 (file)
@@ -48,12 +48,12 @@ SPOOL=@SPOOL@
 SBIN=@SBIN@
 
 ATCMD=
-DOFUSER=no
+NOFUSER=
 SPEED=
 while [ x"$1" != x"" ] ; do
     case $1 in
     -c)     ATCMD=$2; shift;;
-    -f)     DOFUSER=yes;;
+    -f)     NOFUSER=yes;;
     -os)    OS=$2; shift;;
     -s)            SPEED=$2; shift;;
     -*)            echo "Usage: $0 [-f] [-c AT_COMMAND] [-os OS] [-s SPEED] [ttyname]"; exit 1;;
@@ -142,7 +142,7 @@ for x in $LOCKX; do
 done
 
 # zap any gettys or other users
-if [ x"$DOFUSER" != x"no" ]; then
+if [ x"$NOFUSER" != x"yes" ]; then
     if ! [ -f $FUSER ]; then
        cat<<EOF
 Hmm, there does not appear to be an fuser command on your machine.