diff options
author | Martin Banky <martin.banky@gmail.com> | 2010-12-12 22:53:50 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2010-12-14 00:17:31 +0100 |
commit | dfd068cd279063b3be31870bda998b6ddda50e25 (patch) | |
tree | 11359c1403b0a9866b7c0623b56a5293c02a4bbb /package/sysklogd/S25syslog | |
parent | 690df505864e45457dec3f5f1d0198705605faa9 (diff) | |
download | buildroot-novena-dfd068cd279063b3be31870bda998b6ddda50e25.tar.gz buildroot-novena-dfd068cd279063b3be31870bda998b6ddda50e25.zip |
sysklogd: convert to gentargets and bump to 1.5
Also, changed the site to Debian, to get the latest patches
[ Thomas: Minor fixes. Removed S25sysklogd since our default
/etc/inittab already starts klogd and sysklogd. ]
[Peter: only install syslog.conf if not available in skeleton]
Signed-off-by: Martin Banky <Martin.Banky@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/sysklogd/S25syslog')
-rwxr-xr-x | package/sysklogd/S25syslog | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/package/sysklogd/S25syslog b/package/sysklogd/S25syslog deleted file mode 100755 index 793ac6129..000000000 --- a/package/sysklogd/S25syslog +++ /dev/null @@ -1,48 +0,0 @@ -#!/bin/sh -# -# Starts syslog. -# - - - -umask 077 - -start() { - echo -n "Starting syslogd: " - start-stop-daemon -S -q -p /var/run/syslog.pid -x /sbin/syslogd -- -m 0 - echo "OK" - - echo -n "Starting klogd: " - start-stop-daemon -S -q -p /var/run/klogd.pid -x /sbin/klogd - echo "OK" -} -stop() { - echo -n "Stopping klogd: " - start-stop-daemon -K -n klogd - echo "OK" - - echo -n "Stopping syslogd: " - start-stop-daemon -K -n syslogd - echo "OK" -} -restart() { - stop - start -} - -case "$1" in - start) - start - ;; - stop) - stop - ;; - restart|reload) - restart - ;; - *) - echo $"Usage: $0 {start|stop|restart}" - exit 1 -esac - -exit $? |