Print this page
XXX Remove nawk(1)
*** 61,71 ****
/usr/bin/pkill -z `/sbin/zonename` -x pppd && sleep 1
/usr/bin/pkill -z `/sbin/zonename` -x pppoed
# Use ifconfig to make the interfaces down just in case
if [ -f $PPPDIR/ifconfig ]; then
! nawk '/ifconfig[ ]*sppp/ { \
system("ifconfig " $2 " down"); \
system("ifconfig " $2 " unplumb"); \
next; \
} \
/ifconfig/ { \
--- 61,71 ----
/usr/bin/pkill -z `/sbin/zonename` -x pppd && sleep 1
/usr/bin/pkill -z `/sbin/zonename` -x pppoed
# Use ifconfig to make the interfaces down just in case
if [ -f $PPPDIR/ifconfig ]; then
! /usr/xpg4/bin/awk '/ifconfig[ ]*sppp/ { \
system("ifconfig " $2 " down"); \
system("ifconfig " $2 " unplumb"); \
next; \
} \
/ifconfig/ { \