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 : 172.67.156.115

your ip : 172.69.214.217

H O M E


Filename/usr/share/doc/ppp/examples/scripts/ipv6-up.sample
Size815
Permissionrw-r--r--
Ownerroot : root
Create time27-Apr-2025 09:55
Last modified17-Nov-2009 05:26
Last accessed07-Jul-2025 04:38
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
#


# Start router advertisements on this link.
# Based on radvd 0.5.0 behaviour

DEVICE="$1"

CFGFILE="/etc/radvd.conf-$DEVICE"
PIDFILE="/var/run/radvd-$DEVICE.pid"
EXEFILE="/usr/sbin/radvd"

if [ -x "$EXEFILE" -a -f "$CFGFILE" ]; then
touch "$PIDFILE"
if [ ! -f "$PIDFILE" ]; then
echo "error: $PIDFILE is not a regular file. Aborting"
exit 0
fi

PID="$(cat "$PIDFILE")"
if [ -n "$PID" ]; then
ps h "$PID" >/dev/null 2>&1 && exit 0
fi

# radvd 0.5.0 doesn't write a pid-file so we do it here
# enabling debugging keeps radvd in foreground, putting it
# on background gives us the PID.
"$EXEFILE" -d 1 -C "$CFGFILE" &
echo $! >"$PIDFILE"
fi