mirror of
https://github.com/unraid/webgui.git
synced 2026-05-05 11:50:41 -05:00
Updated logger registration
This commit is contained in:
@@ -4,9 +4,13 @@ SERVICES="rpc nfsd ntpd nginx sshd avahidaemon samba"
|
||||
if [[ -n $1 ]]; then
|
||||
[[ ! -e $1 ]] && touch $1 || exit 0
|
||||
fi
|
||||
|
||||
# run & log functions
|
||||
. /etc/rc.d/rc.runlog
|
||||
|
||||
for cmd in $SERVICES; do
|
||||
if /etc/rc.d/rc.$cmd update; then
|
||||
logger -t network -- "reload service: $cmd"
|
||||
log "$cmd"
|
||||
/etc/rc.d/rc.$cmd reload >/dev/null 2>&1
|
||||
fi
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user