rc: run syslog even if service array is empty
This commit is contained in:
parent
bd58e8064f
commit
81f9451f73
@ -4,6 +4,6 @@ c8fe38143dffbbc628a7a33966fae408 rc.conf
|
||||
5b09d4a67beb58022879fa9ce0f5af1b rc.fix
|
||||
d1be35927946756c68242f29c16ee983 rc.local
|
||||
394d5cff98ab59fd1a0ec64fe79292cb rc.modules
|
||||
8a6e0bd75b531238ddbf68d2019f5ce7 rc.multi
|
||||
a2d24525ca3ff1daf5753edcdf89466b rc.multi
|
||||
d3a1e6e3edad489020fd56305bed8d6f rc.shutdown
|
||||
d8d9bd102b0177a7bb30db9fd088a6e8 rc.single
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
||||
|
||||
name=rc
|
||||
version=2.23
|
||||
version=2.24
|
||||
release=1
|
||||
source=(inittab rc rc.modules rc.single rc.multi rc.local rc.fix rc.shutdown rc.conf)
|
||||
|
||||
|
@ -12,7 +12,7 @@ if [ -x /etc/rc.fix ]; then
|
||||
fi
|
||||
|
||||
# Start services
|
||||
if [ "${SERVICES[*]}" ]; then
|
||||
if [ "$SYSLOG" -o "${SERVICES[*]}" ]; then
|
||||
echo -n "starting services:"
|
||||
if [ -f /etc/rc.d/$SYSLOG -a -x /etc/rc.d/$SYSLOG ]; then
|
||||
echo -n " $SYSLOG"
|
||||
|
Loading…
Reference in New Issue
Block a user