--- old/usr/src/cmd/cmd-inet/etc/init.d/pppd Thu Feb 26 16:21:26 2009 +++ new/usr/src/cmd/cmd-inet/etc/init.d/pppd Thu Feb 26 16:21:25 2009 @@ -3,9 +3,8 @@ # CDDL HEADER START # # The contents of this file are subject to the terms of the -# Common Development and Distribution License, Version 1.0 only -# (the "License"). You may not use this file except in compliance -# with the License. +# Common Development and Distribution License (the "License"). +# You may not use this file except in compliance with the License. # # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE # or http://www.opensolaris.org/os/licensing. @@ -21,10 +20,9 @@ # CDDL HEADER END # # -# Copyright (c) 2000-2001 by Sun Microsystems, Inc. -# All rights reserved. +# Copyright 2009 Sun Microsystems, Inc. All rights reserved. +# Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" PATH=/sbin:/usr/bin:/usr/sbin; export PATH PPPDIR=/etc/ppp; export PPPDIR @@ -58,9 +56,8 @@ ;; 'stop') - /usr/bin/pkill -x pppd - sleep 1 - /usr/bin/pkill -x pppoed + /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