mirror of
https://github.com/unraid/webgui.git
synced 2026-05-03 16:29:45 -05:00
scripts dutchification - batch 2
This commit is contained in:
+4
-8
@@ -25,15 +25,11 @@ PHP_FPM_PID="/var/run/php-fpm.pid"
|
||||
PHP_OPTS="--fpm-config $PHP_FPM_CONF --pid $PHP_FPM_PID --allow-to-run-as-root"
|
||||
|
||||
php_fpm_waitfor(){
|
||||
TIMER=35
|
||||
while $TIMER -gt 0; do
|
||||
local TIMER=35
|
||||
while [[ $TIMER -gt 0 ]]; do
|
||||
case "$1" in
|
||||
'created')
|
||||
[[ -f $2 ]] && return 0
|
||||
;;
|
||||
'removed')
|
||||
[[ -f $2 ]] || return 0
|
||||
;;
|
||||
'created') [[ -f $2 ]] && return 0 ;;
|
||||
'removed') [[ -f $2 ]] || return 0 ;;
|
||||
esac
|
||||
((TIMER--))
|
||||
sleep 1
|
||||
|
||||
Reference in New Issue
Block a user