설명 없음

racoon.init 442B

1234567891011121314151617
  1. #!/bin/sh /etc/rc.common
  2. # Copyright (C) 2009-2011 OpenWrt.org
  3. # Copyright (C) 2011 Artem Makhutov
  4. # Copyright (C) 2014 Noah Meyerhans <frodo@morgul.net>
  5. USE_PROCD=1
  6. START=49
  7. start_service() {
  8. mkdir -m 0700 -p /var/racoon
  9. [ -f /etc/ipsec.conf ] && /usr/sbin/setkey -f /etc/ipsec.conf
  10. procd_open_instance
  11. procd_set_param command /usr/sbin/racoon -F -f /etc/racoon.conf
  12. procd_set_param respawn
  13. procd_close_instance
  14. }