Don’t try to find autostart script if SYS_AUTOSTART = 0

This commit is contained in:
Anton Babushkin 2014-01-10 23:41:03 +01:00
parent f3a3d62cf9
commit 2e11992992
1 changed files with 6 additions and 1 deletions

View File

@ -186,7 +186,12 @@ then
# #
# Set parameters and env variables for selected AUTOSTART # Set parameters and env variables for selected AUTOSTART
# #
if param compare SYS_AUTOSTART 0
then
echo "[init] Don't try to find autostart script"
else
sh /etc/init.d/rc.autostart sh /etc/init.d/rc.autostart
fi
# #
# Override parameters from user configuration file # Override parameters from user configuration file