fax, psfax, vwhois: use $user instead of /dev/user

This commit is contained in:
cinap_lenrek 2020-12-23 01:44:44 +01:00
parent cad697d6ed
commit 2e6a5e7046
3 changed files with 1 additions and 3 deletions

View file

@ -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

View file

@ -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}

View file

@ -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
}