|
|
|
@ -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
|
|
|
|
|
}
|
|
|
|
|