mirror of
https://github.com/unraid/webgui.git
synced 2026-01-28 04:29:15 -06:00
1. NFS - fix service reload 2. RPC - fix service reload 3. NGINX - remove HTTPS port in FQDN redirect when default 443 4. All services - register IPv4 Link local assignment (169.254.xxx.xxx) 5. All services - make lock file programmable
13 lines
252 B
Bash
Executable File
13 lines
252 B
Bash
Executable File
#!/bin/bash
|
|
SERVICES="sshd avahidaemon samba rpc nfsd ntpd nginx"
|
|
|
|
if [[ -n $1 ]]; then
|
|
[[ ! -e $1 ]] && touch $1 || exit 0
|
|
fi
|
|
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
|