fax, psfax, vwhois: use $user instead of /dev/user
This commit is contained in:
parent
cad697d6ed
commit
2e6a5e7046
3 changed files with 1 additions and 3 deletions
|
@ -46,7 +46,6 @@ shift
|
||||||
|
|
||||||
script=/tmp/fax.$pid
|
script=/tmp/fax.$pid
|
||||||
header=/tmp/faxh.$pid
|
header=/tmp/faxh.$pid
|
||||||
user=`{cat /dev/user}
|
|
||||||
tmp=/tmp/fax.g3.$pid
|
tmp=/tmp/fax.g3.$pid
|
||||||
tmpin=/tmp/fax.in.$pid
|
tmpin=/tmp/fax.in.$pid
|
||||||
tmpps=/tmp/fax.ps.$pid
|
tmpps=/tmp/fax.ps.$pid
|
||||||
|
|
|
@ -24,7 +24,6 @@ shift
|
||||||
|
|
||||||
script=/tmp/fax.$pid
|
script=/tmp/fax.$pid
|
||||||
header=/tmp/faxh.$pid
|
header=/tmp/faxh.$pid
|
||||||
user=`{cat /dev/user}
|
|
||||||
tmp=/tmp/page.$pid
|
tmp=/tmp/page.$pid
|
||||||
tmpin=/tmp/page.in.$pid
|
tmpin=/tmp/page.in.$pid
|
||||||
tel=`{grep '\) '$user /lib/tel}
|
tel=`{grep '\) '$user /lib/tel}
|
||||||
|
|
|
@ -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
|
plumb -dseemail -a 'filetype=vwhois digest='$i.$pid' mailtype=new sender='$i /mail/fs/$box/XXXvwhois
|
||||||
}
|
}
|
||||||
if not for (i){
|
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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue