packages/ipv6/ptrtd/files/ptrtd.init
nico 0ce1af9dfd packages/ptrtd: use new service functions
git-svn-id: svn://svn.openwrt.org/openwrt/packages@28926 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-09 23:49:21 +00:00

16 lines
217 B
Bash

#!/bin/sh /etc/rc.common
# Copyright (C) 2006-2011 OpenWrt.org
START=60
PREFIX="3ffe:abcd:1234:9876::"
LEN=64
start() {
service_start /usr/sbin/ptrtd -p $PREFIX -l $LEN
}
stop() {
service_stop /usr/sbin/ptrtd
}