Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- #
- # S99funplug.sh - startup script for funplug starup
- #
- # This goes in /etc/rc.d and gets run at boot-time.
- #
- # 2013MAR03
- FUNPLUG=/mnt/usb1/funplug_cn330.sh
- FUNPLUGRC=/ffp/etc/rc
- case "$1" in
- start)
- if [ -x "$FUNPLUG" ] ; then
- chmod a+x $FUNPLUG
- echo "start funplug"
- $FUNPLUG
- fi
- ;;
- stop)
- if [ -x "$FUNPLUGRC" ] ; then
- echo "stopping funplug"
- $FUNPLUGRC stop
- fi
- ;;
- *)
- echo "usage: $0 { start | stop }" >&2
- exit 1
- ;;
- esac
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement