Deleted Added
full compact
syslogd (257694) syslogd (273999)
1#!/bin/sh
2#
1#!/bin/sh
2#
3# $FreeBSD: head/etc/rc.d/syslogd 257694 2013-11-05 09:30:06Z glebius $
3# $FreeBSD: head/etc/rc.d/syslogd 273999 2014-11-03 00:37:39Z hrs $
4#
5
6# netif is required for lo0 because syslogd tries to open a local socket
7#
8# PROVIDE: syslogd
9# REQUIRE: mountcritremote FILESYSTEMS newsyslog netif
10# BEFORE: SERVERS
11

--- 11 unchanged lines hidden (view full) ---

23evalargs="rc_flags=\"\`set_socketlist\` \$rc_flags\""
24
25syslogd_precmd()
26{
27 local _l _ldir
28
29 # Transitional symlink for old binaries
30 #
4#
5
6# netif is required for lo0 because syslogd tries to open a local socket
7#
8# PROVIDE: syslogd
9# REQUIRE: mountcritremote FILESYSTEMS newsyslog netif
10# BEFORE: SERVERS
11

--- 11 unchanged lines hidden (view full) ---

23evalargs="rc_flags=\"\`set_socketlist\` \$rc_flags\""
24
25syslogd_precmd()
26{
27 local _l _ldir
28
29 # Transitional symlink for old binaries
30 #
31 if [ ! -L /dev/log ]; then
31 if [ ! -L /dev/log ] && ! check_jail jailed; then
32 ln -sf /var/run/log /dev/log
33 fi
34 rm -f /var/run/log
35
36 # Create default list of syslog sockets to watch
37 #
38 ( umask 022 ; > $sockfile )
39

--- 34 unchanged lines hidden ---
32 ln -sf /var/run/log /dev/log
33 fi
34 rm -f /var/run/log
35
36 # Create default list of syslog sockets to watch
37 #
38 ( umask 022 ; > $sockfile )
39

--- 34 unchanged lines hidden ---