cjdroute 362 B

123456789101112131415161718192021
  1. #! /bin/sh
  2. # PROVIDE: cjdroute
  3. # KEYWORD: shutdown
  4. # Add the following line to /etc/rc.conf to enable cjdroute:
  5. # cjdroute_enable="YES"
  6. . /etc/rc.subr
  7. name="cjdroute"
  8. rcvar="cjdroute_enable"
  9. load_rc_config $name
  10. : ${cjdroute_config:=/usr/local/etc/cjdroute.conf}
  11. command="/usr/local/bin/cjdroute"
  12. command_args=" < ${cjdroute_config}"
  13. run_rc_command "$1"