From 2e6a5e704646109a7aaf7dd5a9d3a64475fd0055 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Wed, 23 Dec 2020 01:44:44 +0100 Subject: [PATCH] fax, psfax, vwhois: use $user instead of /dev/user --- rc/bin/fax | 1 - rc/bin/psfax | 1 - rc/bin/vwhois | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/rc/bin/fax b/rc/bin/fax index 22be347b0..2e7ad1e63 100755 --- a/rc/bin/fax +++ b/rc/bin/fax @@ -46,7 +46,6 @@ shift script=/tmp/fax.$pid header=/tmp/faxh.$pid -user=`{cat /dev/user} tmp=/tmp/fax.g3.$pid tmpin=/tmp/fax.in.$pid tmpps=/tmp/fax.ps.$pid diff --git a/rc/bin/psfax b/rc/bin/psfax index d9d197b4a..43e97deb7 100755 --- a/rc/bin/psfax +++ b/rc/bin/psfax @@ -24,7 +24,6 @@ shift script=/tmp/fax.$pid header=/tmp/faxh.$pid -user=`{cat /dev/user} tmp=/tmp/page.$pid tmpin=/tmp/page.in.$pid tel=`{grep '\) '$user /lib/tel} diff --git a/rc/bin/vwhois b/rc/bin/vwhois index ff8c04fb9..ce4eae803 100755 --- a/rc/bin/vwhois +++ b/rc/bin/vwhois @@ -13,5 +13,5 @@ if(~ $#box 1 && test -f /mnt/plumb/seemail || test -f /mnt/term/mnt/plumb/seemai plumb -dseemail -a 'filetype=vwhois digest='$i.$pid' mailtype=new sender='$i /mail/fs/$box/XXXvwhois } if not for (i){ - echo vwhois: vwhois: vwhois: delivered `{cat /dev/user} From $i '(vwho)' >> /sys/log/mail + echo vwhois: vwhois: vwhois: delivered $user From $i '(vwho)' >> /sys/log/mail }