mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Fix to suppress output from init scripts
We already have `Attempting to start Webmin web server ..` being printed. As the init scripts have prompt we also need to handle it
This commit is contained in:
6
setup.sh
6
setup.sh
@@ -1014,13 +1014,13 @@ if [ "$nostart" = "" ]; then
|
||||
# If upgrading, restart
|
||||
if [ "$upgrading" = "1" ]; then
|
||||
if [ "$killmodenonesh" != "1" ]; then
|
||||
$config_dir/.post-install >/dev/null 2>&1
|
||||
$config_dir/.post-install >/dev/null 2>&1 </dev/null
|
||||
else
|
||||
$config_dir/.reload-init >/dev/null 2>&1
|
||||
$config_dir/.reload-init >/dev/null 2>&1 </dev/null
|
||||
fi
|
||||
# If installing first time, start it
|
||||
else
|
||||
$config_dir/start >/dev/null 2>&1
|
||||
$config_dir/start >/dev/null 2>&1 </dev/null
|
||||
fi
|
||||
|
||||
if [ $? != "0" ]; then
|
||||
|
||||
Reference in New Issue
Block a user