K2LL33D SHELL

 Apache/2.4.7 (Ubuntu)
 Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64
 uid=33(www-data) gid=33(www-data) groups=33(www-data)
 safemode : OFF
 MySQL: ON | Perl: ON | cURL: OFF | WGet: ON
  >  / usr / share / doc / ppp / examples / scripts /
server ip : 104.21.89.46

your ip : 172.69.214.58

H O M E


Filename/usr/share/doc/ppp/examples/scripts/ipv6-down.sample
Size609
Permissionrw-r--r--
Ownerroot : root
Create time27-Apr-2025 09:55
Last modified17-Nov-2009 05:26
Last accessed07-Jul-2025 07:28
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
#!/bin/sh
#
# This script is called with the following parameters:
# interface tty speed local-address remote-address ipparam
#


# Kill the router advertisement daemon on this interface.
# The killing procedure is copied from RedHat 6.0 initscripts.

DEVICE="$1"

PIDFILE="/var/run/radvd-$DEVICE.pid"

[ -f "$PIDFILE" ] || exit 0

PID="$(cat "$PIDFILE")"
if [ "$PID" != "" ]; then
if ps h "$PID" >/dev/null 2>&1; then
kill -TERM "$PID"
usleep 10000
if ps h "$PID" >/dev/null 2>&1; then
sleep 1
if ps h "$PID" >/dev/null 2>&1; then
kill -KILL "$PID"
fi
fi
fi
fi

rm -f "$PIDFILE"