mirror of
https://github.com/unraid/webgui.git
synced 2026-05-20 21:29:35 -05:00
64c5690b06
This reverts commit fa3532e46f.
13 lines
253 B
Bash
Executable File
13 lines
253 B
Bash
Executable File
#!/bin/bash
|
|
SERVICES="sshd avahidaemon samba rpc nfsd ntpd nginx"
|
|
job=/tmp/atjob.tmp
|
|
|
|
[[ -n $1 && -e $job ]] && exit 0
|
|
touch $job
|
|
for cmd in $SERVICES; do
|
|
if /etc/rc.d/rc.$cmd update; then
|
|
/etc/rc.d/rc.$cmd reload >/dev/null 2>&1
|
|
fi
|
|
done
|
|
exit 0
|