#!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org
START=50

BIN=ez-ipupdate
CONF=/etc/$BIN.conf
RUN_D=/var/run
PID_F=$RUN_D/$BIN.pid

start() {
	[ -f $CONF ] || exit
	mkdir -p $RUN_D
	$BIN -c $CONF
}

stop() {
	[ -f $PID_F ] && kill $(cat $PID_F)
}
