summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/network1
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.d/network1')
-rw-r--r--etc/rc.d/network111
1 files changed, 11 insertions, 0 deletions
diff --git a/etc/rc.d/network1 b/etc/rc.d/network1
index e37d25f..fc7cdd0 100644
--- a/etc/rc.d/network1
+++ b/etc/rc.d/network1
@@ -352,6 +352,17 @@ network_pass1() {
esac
echo '.'
+ case ${ipsec_enable} in
+ [Yy][Ee][Ss])
+ if [ -f ${ipsec_file} ]; then
+ echo ' ipsec: enabled'
+ setkey -f ${ipsec_file}
+ else
+ echo ' ipsec: file not found'
+ fi
+ ;;
+ esac
+
echo -n 'routing daemons:'
case ${router_enable} in
[Yy][Ee][Ss])
OpenPOWER on IntegriCloud