diff options
Diffstat (limited to 'meta/recipes-extended')
-rwxr-xr-x | meta/recipes-extended/sysklogd/files/sysklogd | 2 | ||||
-rw-r--r-- | meta/recipes-extended/sysklogd/files/syslog.conf | 6 | ||||
-rw-r--r-- | meta/recipes-extended/sysklogd/sysklogd.inc | 10 | ||||
-rw-r--r-- | meta/recipes-extended/sysklogd/sysklogd_1.5.bb | 2 |
4 files changed, 11 insertions, 9 deletions
diff --git a/meta/recipes-extended/sysklogd/files/sysklogd b/meta/recipes-extended/sysklogd/files/sysklogd index e0fa7a8e1e..dcbc81e5a5 100755 --- a/meta/recipes-extended/sysklogd/files/sysklogd +++ b/meta/recipes-extended/sysklogd/files/sysklogd | |||
@@ -15,7 +15,7 @@ | |||
15 | PATH=/bin:/usr/bin:/sbin:/usr/sbin | 15 | PATH=/bin:/usr/bin:/sbin:/usr/sbin |
16 | 16 | ||
17 | pidfile_syslogd=/var/run/syslogd.pid | 17 | pidfile_syslogd=/var/run/syslogd.pid |
18 | pidfile_klogd=/var/run/syslogd.pid | 18 | pidfile_klogd=/var/run/klogd.pid |
19 | binpath_syslogd=/sbin/syslogd | 19 | binpath_syslogd=/sbin/syslogd |
20 | binpath_klogd=/sbin/klogd | 20 | binpath_klogd=/sbin/klogd |
21 | 21 | ||
diff --git a/meta/recipes-extended/sysklogd/files/syslog.conf b/meta/recipes-extended/sysklogd/files/syslog.conf index 795d73545a..7d1858ca5b 100644 --- a/meta/recipes-extended/sysklogd/files/syslog.conf +++ b/meta/recipes-extended/sysklogd/files/syslog.conf | |||
@@ -26,9 +26,9 @@ mail.err /var/log/mail.err | |||
26 | 26 | ||
27 | # Logging for INN news system | 27 | # Logging for INN news system |
28 | # | 28 | # |
29 | news.crit /var/log/news/news.crit | 29 | news.crit /var/log/news.crit |
30 | news.err /var/log/news/news.err | 30 | news.err /var/log/news.err |
31 | news.notice -/var/log/news/news.notice | 31 | news.notice -/var/log/news.notice |
32 | 32 | ||
33 | # | 33 | # |
34 | # Some `catch-all' logfiles. | 34 | # Some `catch-all' logfiles. |
diff --git a/meta/recipes-extended/sysklogd/sysklogd.inc b/meta/recipes-extended/sysklogd/sysklogd.inc index 0b84dace96..fb2ddb2013 100644 --- a/meta/recipes-extended/sysklogd/sysklogd.inc +++ b/meta/recipes-extended/sysklogd/sysklogd.inc | |||
@@ -46,12 +46,14 @@ do_install () { | |||
46 | pkg_preinst_${PN} () { | 46 | pkg_preinst_${PN} () { |
47 | # all this is needed to avoid sysmlink errors, | 47 | # all this is needed to avoid sysmlink errors, |
48 | # because update-rc.d runs before pkg_postinst | 48 | # because update-rc.d runs before pkg_postinst |
49 | if [ -e ${sysconfdir}/init.d/syslog -a ! -L ${sysconfdir}/init.d/syslog ]; then | 49 | ETC=$D${sysconfdir} |
50 | |||
51 | if [ -e $ETC/init.d/syslog -a ! -L $ETC/init.d/syslog ]; then | ||
50 | echo "WARNING:" "non symlink ${sysconfdir}/init.d/syslog exist -> backup to ${sysconfdir}/init.d/syslog.old" | 52 | echo "WARNING:" "non symlink ${sysconfdir}/init.d/syslog exist -> backup to ${sysconfdir}/init.d/syslog.old" |
51 | mv ${sysconfdir}/init.d/syslog ${sysconfdir}/init.d/syslog.old | 53 | mv $ETC/init.d/syslog $ETC/init.d/syslog.old |
52 | fi | 54 | fi |
53 | if [ ! -e ${sysconfdir}/init.d/syslog ]; then | 55 | if [ ! -e $ETC/init.d/syslog ]; then |
54 | ln -s dummy ${sysconfdir}/init.d/syslog | 56 | ln -s dummy $ETC/init.d/syslog |
55 | fi | 57 | fi |
56 | } | 58 | } |
57 | 59 | ||
diff --git a/meta/recipes-extended/sysklogd/sysklogd_1.5.bb b/meta/recipes-extended/sysklogd/sysklogd_1.5.bb index 187c9f49b6..b58094e69e 100644 --- a/meta/recipes-extended/sysklogd/sysklogd_1.5.bb +++ b/meta/recipes-extended/sysklogd/sysklogd_1.5.bb | |||
@@ -1,5 +1,5 @@ | |||
1 | require sysklogd.inc | 1 | require sysklogd.inc |
2 | PR = "r4" | 2 | PR = "r5" |
3 | 3 | ||
4 | SRC_URI[md5sum] = "e053094e8103165f98ddafe828f6ae4b" | 4 | SRC_URI[md5sum] = "e053094e8103165f98ddafe828f6ae4b" |
5 | SRC_URI[sha256sum] = "6169b8e91d29288e90404f01462b69e7f2afb1161aa419826fe4736c7f9eb773" | 5 | SRC_URI[sha256sum] = "6169b8e91d29288e90404f01462b69e7f2afb1161aa419826fe4736c7f9eb773" |