- #!/bin/sh
- # Startup script for penguinbait crap
- #
- # Carry out specific functions when asked to by the system
- case "$1" in
- start)
- echo "Starting script penguinbaits crap"
- #Load modules plus check and mount local.img
- cat /etc/fstab | grep swap | awk '{print $1}' | xargs swapon
- ;;
- stop)
- echo "Stopping script blah"
- ;;
- *)
- echo "Usage: /etc/init.d/local.sh {start|stop}"
- exit 1
- ;;
- esac
- exit 0
Posted by None on Thu 19 Jun 10:47
report abuse | download | new post
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.