summaryrefslogtreecommitdiffstats
path: root/ipv6/ptrtd/files/ptrtd.init
blob: 6d7cf68b690571fb9e5cc6e5fb81b305f850c492 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/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
}