#!/bin/sh /etc/rc.common
# hninpopd - hninpop daemon
START=60
hninpop_pidfile=/tmp/hninpop.pid
hninpopd_pidfile=/tmp/hninpopd.pid
hninpopd_bin=/usr/sbin/hninpopd
touch $hninpop_pidfile
touch $hninpopd_pidfile
start() {
	/usr/sbin/hninpopd start &
}

stop() {
	uci -q del network.hninpop
	uci commit network
	ip link del hninpop > /dev/null 2>&1
	kill -9 `cat $hninpop_pidfile` >/dev/null 2>&1	
	kill -9 `cat $hninpopd_pidfile` >/dev/null 2>&1
}



