Advertisement
Powderking

chroot-sid init.d

Jul 19th, 2012
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. #! /bin/sh
  2. # /etc/init.d/chroot-sid
  3. #
  4.  
  5. # Some things that run always
  6. touch /var/lock/chroot-sid
  7.  
  8. # Carry out specific functions when asked to by the system
  9. case "$1" in
  10. start)
  11. echo "Starting chroot sid"
  12. schroot -c sid
  13. ;;
  14. stop)
  15. echo "Stopping chroot sid"
  16. # Is anything needed???
  17. ;;
  18. *)
  19. echo "Usage: /etc/init.d/chroot-sid {start|stop}"
  20. exit 1
  21. ;;
  22. esac
  23.  
  24. exit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement