Commit 4fced855 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

do not check if script exists - to be able to pass a parameter

parent 6fb4ebd5
...@@ -23,12 +23,7 @@ case "$1" in ...@@ -23,12 +23,7 @@ case "$1" in
fi fi
mount $MMCDEV $MNTPOINT mount $MMCDEV $MNTPOINT
if [ -f /etc/$SOME_SCRIPT ]; then
echo " Launching /etc/$SOME_SCRIPT"
/etc/$SOME_SCRIPT /etc/$SOME_SCRIPT
else
echo " $SOME_SCRIPT not found. Nothing to launch."
fi
;; ;;
stop) stop)
echo -n "Stopping $DESC: " echo -n "Stopping $DESC: "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment