mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 08:40:24 +00:00
Don't break os_type as it is used later
This commit is contained in:
6
setup.sh
6
setup.sh
@@ -442,9 +442,11 @@ else
|
||||
# Ask whether to run at boot time
|
||||
if [ "$atboot" = "" ]; then
|
||||
if echo "$os_type" | grep -q "\-linux$"; then
|
||||
os_type="linux"
|
||||
grep_os_type="linux"
|
||||
else
|
||||
grep_os_type="$os_type"
|
||||
fi
|
||||
initsupp=`grep "^os_support=" "$srcdir/init/module.info" | sed -e 's/os_support=//g' | grep $os_type`
|
||||
initsupp=`grep "^os_support=" "$srcdir/init/module.info" | sed -e 's/os_support=//g' | grep $grep_os_type`
|
||||
atboot=0
|
||||
if [ "$initsupp" != "" ]; then
|
||||
printf "Start Webmin at boot time (y/n): "
|
||||
|
||||
Reference in New Issue
Block a user