Dr. Werner Fink 2010-04-12 10:29:48 +00:00 committed by Git OBS Bridge
parent c2efc3f858
commit 54e4127d72
2 changed files with 44 additions and 39 deletions

View File

@ -138,13 +138,13 @@ case "$1" in
test -z "$KERNEL_LOGLEVEL" && KERNEL_LOGLEVEL=1
case $syslog in
(rsyslogd)
if [ "x$rsocks" != x ] ; then
rsyslogd)
if test -n "$rsocks" ; then
rm -f "$rsocks"
touch "$rsocks"
fi
;;
(syslog-ng)
syslog-ng)
echo 'source chroots{' > "$ngsocks"
;;
esac
@ -154,7 +154,7 @@ case "$1" in
test -n "${value}" && test -d ${value%/*} && {
case $syslog in
rsyslogd)
if [ "x$rsocks" != x ] ; then
if test -n "$rsocks" ; then
echo "\$AddUnixListenSocket $value" >> "$rsocks"
fi
;;

View File

@ -1,5 +1,10 @@
-------------------------------------------------------------------
Wed Mar 31 20:47:31 CEST 2010
Mon Apr 12 12:28:46 CEST 2010 - werner@suse.de
- Reformat boot script
-------------------------------------------------------------------
Wed Mar 31 20:47:31 CEST 2010 - pczanik@genesi-usa.com
- modify /etc/init.d/syslog for syslog-ng 3.X