Op 19 nov. 2012, om 19:00 heeft Paul Eggleton <[email protected]> het volgende geschreven:
> On Monday 19 November 2012 18:55:33 Koen Kooi wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Op 19-11-12 18:11, Paul Eggleton schreef: >>> * Update to 0.99.21 * Fix SRC_URI to point to a working download >>> location * Make LICENSE more accurate * Add LIC_FILES_CHKSUM * Add old >>> gentoo patch to fix libcap linking errors * Put binaries in sbindir * Use >>> useradd.bbclass to create user/groups * Add LSB headers to init script >>> (borrowed from debian) * Tidy up packaging and directory references * Add >>> SUMMARY >>> >>> Signed-off-by: Paul Eggleton <[email protected]> --- >> >> dd94a >> >>> --- /dev/null +++ >>> b/meta-networking/recipes-protocols/quagga/files/watchquagga.init @@ -0,0 >>> +1,64 @@ +#!/bin/sh +# +### BEGIN INIT INFO +# Provides: watchquagga +# >>> Required-Start: $local_fs $network $remote_fs $syslog +# Required-Stop: >>> $local_fs $network $remote_fs $syslog +# Default-Start: 2 3 4 5 +# >>> Default-Stop: 0 1 6 +# Short-Description: start and stop the Quagga >>> watchdog +### END INIT INFO + +PATH=/bin:/usr/bin:/sbin:/usr/sbin + +# >>> Load configuration +test -f /etc/default/watchquagga && . >>> /etc/default/watchquagga >> >> hardcoded $sysconfdir >> >>> + +# Check that there are daemons to be monitored. +[ -z "$watch_daemons" >>> ] && exit 0 + +pidfile="/var/run/quagga/watchquagga.pid" >> >> hardcoded $localstatedir >> >>> + +case "$1" in + start) + echo -n "Starting quagga watchdog >>> daemon: >>> watchquagga" + start-stop-daemon --start \ + --pidfile >>> $pidfile \ + >>> --exec /usr/sbin/watchquagga \ >> >> hardcoded $sbindir >> >> [..] >> >> etc. > > Sure I can fix these, but you're aware there are a ton of these in meta-oe...? Sadly, yes. I try to fix them when I run into those, but it's slow going and most of the time I just add native systemd support to fix startup. regards, Koen _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
