Удаление init.d/calculate из автозапуска перенесено в start()

master3.4 3.4.5.4
parent f49fba4268
commit 470de38099

@ -155,10 +155,7 @@ start() {
fi
/sbin/rc-update --update
return 0
}
stop() {
local roottype=`variable_value main.os_root_type`
if [[ $roottype == "hdd" ]] && rc-config list boot | grep -q -e "calculate " -e "calculate$"
then
@ -172,4 +169,6 @@ stop() {
[[ -f "${video_script}" ]] && rm -f "${video_script}"
[[ -f "${cache_video}" ]] && rm -f "${cache_video}"
fi
return 0
}

Loading…
Cancel
Save