diff options
author | Ross Burton <ross@openedhand.com> | 2007-01-19 20:55:09 +0000 |
---|---|---|
committer | Ross Burton <ross@openedhand.com> | 2007-01-19 20:55:09 +0000 |
commit | 776490a40df8d1b4a84a07dd3e13bd10cd4c8bdd (patch) | |
tree | 489df56bf4725a99dc095a17cdfe7ef4c680ac82 /meta-extras/packages/dhcdbd/files/dhcdbd | |
parent | 6564355fb79604e818722ae3f6acf3dbb0665fca (diff) | |
download | openembedded-core-contrib-776490a40df8d1b4a84a07dd3e13bd10cd4c8bdd.tar.gz |
Add dhcp3 and dhcdbd for Network Manager
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1175 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta-extras/packages/dhcdbd/files/dhcdbd')
-rw-r--r-- | meta-extras/packages/dhcdbd/files/dhcdbd | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-extras/packages/dhcdbd/files/dhcdbd b/meta-extras/packages/dhcdbd/files/dhcdbd new file mode 100644 index 0000000000..568753c28c --- /dev/null +++ b/meta-extras/packages/dhcdbd/files/dhcdbd @@ -0,0 +1,28 @@ +#!/bin/sh +# +# DHCDBD startup script + +. /etc/profile + +case $1 in + 'start') + echo -n "Starting dhcdbd daemon: dhcdbd" + /sbin/dhcdbd --system + echo "." + ;; + + 'stop') + echo -n "Stopping dhcdbd: dhcdbd" + killall `ps |grep /sbin/dhcdbd | grep -v grep | cut "-d " -f2` + echo "." + ;; + + 'restart') + $0 stop + $0 start + ;; + + *) + echo "Usage: $0 { start | stop | restart }" + ;; +esac |