#!/bin/sh . /etc/rc.d/init.d/functions PATH=/usr/local/v6/sbin:/bin:/sbin export PATH case "$1" in start) /usr/local/v6/sbin/radvd -u radvd -C /usr/local/tsp/tsprtadvd.conf \ -p /var/run/radvd/radvd.pid ;; stop) killproc radvd ;; *) echo "Usage: radvd {start|stop}" exit 1 esac exit 0