mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 08:40:24 +00:00
No need to store variable
This commit is contained in:
2
setup.sh
2
setup.sh
@@ -608,7 +608,7 @@ currprod=`grep "^product=" /etc/webmin/config | sed -e 's/product=//g'`
|
||||
# Test if transitioning from init.d to systemd, and
|
||||
# re-enable service afterwards if was enabled before
|
||||
if [ "$upgrading" = 1 ] && [ ! -f "$config_dir/stop-init" ]; then
|
||||
upgatboot=`(cd "$wadir/init" ; WEBMIN_CONFIG=$config_dir WEBMIN_VAR=$var_dir "$wadir/init/isboot.pl")`
|
||||
(cd "$wadir/init" ; WEBMIN_CONFIG=$config_dir WEBMIN_VAR=$var_dir "$wadir/init/isboot.pl")
|
||||
fi
|
||||
|
||||
# Return back to root
|
||||
|
||||
Reference in New Issue
Block a user