Guest
Public paste!

None

By: a guest | Jun 19th, 2008 | Syntax: None | Size: 0.42 KB | Hits: 35 | Expires: Never
Copy text to clipboard
  1. #!/bin/sh
  2. # Startup script for penguinbait crap
  3. #
  4.  
  5. # Carry out specific functions when asked to by the system
  6. case "$1" in
  7.   start)
  8.     echo "Starting script penguinbaits crap"
  9.  
  10. #Load modules plus check and mount local.img
  11. cat /etc/fstab | grep swap | awk '{print $1}' | xargs swapon    
  12. ;;
  13.   stop)
  14.     echo "Stopping script blah"
  15.     ;;
  16.   *)
  17.     echo "Usage: /etc/init.d/local.sh {start|stop}"
  18.     exit 1
  19.     ;;
  20. esac
  21.  
  22. exit 0