diff --git a/Service-check.sh b/Service-check.sh index d02129d..a6b1e20 100644 --- a/Service-check.sh +++ b/Service-check.sh @@ -4,6 +4,8 @@ wait service webmin start service smbd start service nmbd start +ln -s /data/samba /etc/samba +ln -s /data/webmin /etc/webmin while true do if [[ $(service webmin status) = *stopped* ]] @@ -12,4 +14,4 @@ break else sleep 5m fi -done \ No newline at end of file +done