init.d: sysv remove duplicate prepare_user

This commit is contained in:
bol-van 2021-11-06 11:13:36 +03:00
parent b4fdf73771
commit 6fe5d7f43a

View File

@ -448,8 +448,6 @@ do_tpws()
# $2 : daemon number # $2 : daemon number
# $3 : daemon args # $3 : daemon args
[ "$1" = "1" ] && prepare_user
[ "$DISABLE_IPV4" = "1" ] && [ "$DISABLE_IPV6" = "1" ] && return 0 [ "$DISABLE_IPV4" = "1" ] && [ "$DISABLE_IPV6" = "1" ] && return 0
local OPT="$TPWS_OPT_BASE" local OPT="$TPWS_OPT_BASE"