]> git.ipfire.org Git - thirdparty/HylaFAX.git/commitdiff
Bug 529: fix faxaddmodem and probemodem to support locking devices
authorLee Howard <faxguy@howardsilvan.com>
Thu, 29 Apr 2004 15:36:49 +0000 (15:36 +0000)
committerLee Howard <faxguy@howardsilvan.com>
Thu, 29 Apr 2004 15:36:49 +0000 (15:36 +0000)
         in subdirectories

etc/faxsetup.sh.in

index f2fc302a490850555c0294950214a1e715f06efb..145de897c4d8ef937489cda48c58aa23cc8bad9d 100644 (file)
@@ -533,7 +533,7 @@ EOF
            }
            ttyLocks()
            {
-               echo $UUCP_LOCKDIR/LCK..$1
+               echo $UUCP_LOCKDIR/LCK..`expr /$1 : '.*/\(.*\)'`
            }
            ttyAliases()
            {
@@ -597,7 +597,7 @@ EOF
            }
            ttyLocks()
            {
-               echo $UUCP_LOCKDIR/LCK..$1
+               echo $UUCP_LOCKDIR/LCK..`expr /$1 : '.*/\(.*\)'`
            }
            ttyAliases()
            {