#!/bin/sh # tspc - tunnel setup protocol client # # chkconfig: 35 64 36 # description: setup IPv6 over IPv4 tunnel . /etc/rc.d/init.d/functions PATH=/usr/local/tsp/bin:/bin:/usr/bin export PATH case "$1" in start) tspc -f /usr/local/tsp/bin/tspc.conf ;; stop) /etc/rc.d/init.d/radvd stop ;; *) echo "Usage: tspc {start|stop}" exit 1 esac exit 0