Print this page
XXX Remove nawk(1)

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sendmail/lib/smtp-sendmail
          +++ new/usr/src/cmd/sendmail/lib/smtp-sendmail
↓ open down ↓ 88 lines elided ↑ open up ↑
  89   89          #
  90   90          # See RFC 1985 for more information.
  91   91          #
  92   92          for i in $ETRN_HOSTS; do
  93   93                  SERVER=`echo $i | /usr/bin/sed -e 's/:.*$//'`
  94   94                  CLIENTS=`echo $i | /usr/bin/sed -n -e 's/,/ /g' \
  95   95                      -e '/:/s/^.*://p'`
  96   96                  /usr/sbin/etrn -b $SERVER $CLIENTS >/dev/null 2>&1 &
  97   97          done
  98   98  
  99      -        if /usr/bin/nawk 'BEGIN{s = 1}
       99 +        if /usr/xpg4/bin/awk 'BEGIN{s = 1}
 100  100              $2 == "/var/mail" && $3 == "nfs" && $4 !~ /actimeo=0/ &&
 101  101              $4 !~ /noac/{s = 0} END{exit s}' /etc/mnttab; then
 102  102  
 103  103                  /usr/bin/logger -p mail.crit "$ERRMSG1"
 104  104                  /usr/bin/logger -p mail.crit "$ERRMSG2"
 105  105          fi
 106  106          ;;
 107  107  
 108  108  'stop')
 109  109          [ -f $SERVER_PID_FILE ] && check_and_kill $SERVER_PID_FILE
↓ open down ↓ 20 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX