ipsec (174438) | ipsec (196439) |
---|---|
1#!/bin/sh 2# | 1#!/bin/sh 2# |
3# $FreeBSD: head/etc/rc.d/ipsec 174438 2007-12-08 07:20:23Z dougb $ | 3# $FreeBSD: head/etc/rc.d/ipsec 196439 2009-08-23 05:56:54Z dougb $ |
4# 5 6# PROVIDE: ipsec 7# REQUIRE: FILESYSTEMS 8# BEFORE: DAEMON mountcritremote 9# KEYWORD: nojail 10 11. /etc/rc.subr --- 24 unchanged lines hidden (view full) --- 36 echo "Installing ipsec manual keys/policies." 37 ${ipsec_program} -f $ipsec_file 38} 39 40ipsec_stop() 41{ 42 echo "Clearing ipsec manual keys/policies." 43 | 4# 5 6# PROVIDE: ipsec 7# REQUIRE: FILESYSTEMS 8# BEFORE: DAEMON mountcritremote 9# KEYWORD: nojail 10 11. /etc/rc.subr --- 24 unchanged lines hidden (view full) --- 36 echo "Installing ipsec manual keys/policies." 37 ${ipsec_program} -f $ipsec_file 38} 39 40ipsec_stop() 41{ 42 echo "Clearing ipsec manual keys/policies." 43 |
44 # still not 100% sure if we would like to do this. 45 # it is very questionable to do this during shutdown session, since 46 # it can hang any of remaining IPv4/v6 session. | 44 # Still not 100% sure if we would like to do this. 45 # It is very questionable to do this during shutdown session 46 # since it can hang any of the remaining IPv4/v6 sessions. |
47 # 48 ${ipsec_program} -F 49 ${ipsec_program} -FP 50} 51 52ipsec_reload() 53{ 54 echo "Reloading ipsec manual keys/policies." 55 ${ipsec_program} -f "$ipsec_file" 56} 57 58load_rc_config $name 59run_rc_command "$1" | 47 # 48 ${ipsec_program} -F 49 ${ipsec_program} -FP 50} 51 52ipsec_reload() 53{ 54 echo "Reloading ipsec manual keys/policies." 55 ${ipsec_program} -f "$ipsec_file" 56} 57 58load_rc_config $name 59run_rc_command "$1" |