ulogd.init 270 B

123456789101112131415161718192021222324
  1. #!/bin/sh
  2. #PKG ulogd
  3. #INIT 49
  4. . /etc/rc.conf
  5. case $1 in
  6. autostop) ;;
  7. autostart)
  8. test x"${ulogd:-NO}" = x"NO" && exit 0
  9. exec sh $0 start
  10. ;;
  11. start)
  12. ulogd -d
  13. ;;
  14. restart)
  15. sh $0 stop
  16. sh $0 start
  17. ;;
  18. *)
  19. echo "usage: $0 {start | stop | restart}"
  20. exit 1
  21. esac
  22. exit $?