mirror of
https://github.com/gtxaspec/wz_mini_hacks.git
synced 2025-04-25 07:46:21 +00:00
add webserver check
This commit is contained in:
parent
51102719c9
commit
d51afff1b8
@ -591,6 +591,10 @@ if [[ "$NIGHT_DROP_DISABLE" == "true" ]]; then
|
|||||||
touch /opt/wz_mini/tmp/.nd
|
touch /opt/wz_mini/tmp/.nd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ "$WEB_SERVER_ENABLED" == "true" ]]; then
|
||||||
|
httpd -p 80 -h /opt/wz_mini/web
|
||||||
|
fi
|
||||||
|
|
||||||
hostname_set
|
hostname_set
|
||||||
touch /opt/wz_mini/tmp/.wz_user_firstrun
|
touch /opt/wz_mini/tmp/.wz_user_firstrun
|
||||||
pkill -f dumpload #Kill dumpload so it won't waste cpu or ram gathering cores and uploading them when something crashes
|
pkill -f dumpload #Kill dumpload so it won't waste cpu or ram gathering cores and uploading them when something crashes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user