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.
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;;
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.