summaryrefslogtreecommitdiffstats
path: root/main/ucarp/ucarp.initd
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@gmail.com>2010-04-10 17:40:06 +0000
committerLeonardo Arena <rnalrd@gmail.com>2010-04-10 17:40:06 +0000
commit87a9dc9a44e27471e024ae8f53adb0b24bb1b25d (patch)
treef63f3169b2571d5022cf65bea3c035043d2705c5 /main/ucarp/ucarp.initd
parent5a7acc3218ecf44b19312ba9b5d4962828e9ec97 (diff)
downloadaports-87a9dc9a44e27471e024ae8f53adb0b24bb1b25d.tar.bz2
aports-87a9dc9a44e27471e024ae8f53adb0b24bb1b25d.tar.xz
main/ucarp: init script net dependency added
Diffstat (limited to 'main/ucarp/ucarp.initd')
-rwxr-xr-xmain/ucarp/ucarp.initd4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/ucarp/ucarp.initd b/main/ucarp/ucarp.initd
index ff101fce4..f384cf1d2 100755
--- a/main/ucarp/ucarp.initd
+++ b/main/ucarp/ucarp.initd
@@ -30,6 +30,10 @@ if [ -z "$REALIP" ]; then
REALIP=$( get_first_ip $IFACE )
fi
+depend () {
+ need net
+}
+
start () {
ebegin "Starting ucarp $IFACE"
start-stop-daemon --start --exec $DAEMON \