diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /packages/ez-ipupdate/files/init | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'packages/ez-ipupdate/files/init')
-rw-r--r-- | packages/ez-ipupdate/files/init | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/packages/ez-ipupdate/files/init b/packages/ez-ipupdate/files/init deleted file mode 100644 index 031c33c79b..0000000000 --- a/packages/ez-ipupdate/files/init +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/sh -# -# ipupdate init.d script for ez-ipupdate -# -# You *must* create or update the /etc/ipupdate.conf file for -# this to work -CONF=/etc/ipupdate.conf -PIDFILE=/var/run/ipupdate.pid -test -x /usr/bin/ez-ipupdate -a -r "${CONF}" || exit 0 -if egrep '^service-type=<type of service>$' "${CONF}" >/dev/null -then - # conf file not editted - exit 0 -fi - -case "$1" in - start) - echo -n "Starting ez-ipupdate: " - start-stop-daemon --start -x /usr/bin/ez-ipupdate -- -c "${CONF}" -d -F "${PIDFILE}" "$@" - echo "done" - ;; - stop) - echo -n "Stopping ez-ipupdate: " - start-stop-daemon --stop -s 3 -p "${PIDFILE}" - echo "done" - ;; - restart) - echo -n "Restarting ez-ipupdate: " - start-stop-daemon --stop -s 3 -p "${PIDFILE}" - start-stop-daemon --start -x /usr/bin/ez-ipupdate -- -c "${CONF}" -d -F "${PIDFILE}" "$@" - echo "done" - ;; - force-reload|reload) - # HUP causes a reload, a simple TERM causes the daemon - # to wake up and re-update the IP address - start-stop-daemon --stop -s 1 -p "${PIDFILE}" - ;; - *) - echo "Usage: ipupdate { start | stop | restart | reload }" >&2 - exit 1 - ;; -esac - -exit 0 |