blob: ef53bf2021bb23919c6ea34ad7771158b3fa3fa1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#! /bin/sh /usr/share/dpatch/dpatch-run
## 01_updown_x509-default-path.dpatch by <rene@mayrhofer.eu.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Changes /etc/sysconfig to /etc/default
@DPATCH@
--- openswan/programs/_updown_x509/_updown_x509.in.orig 2006-04-15 22:33:22.443407426 +0100
+++ openswan/programs/_updown_x509/_updown_x509.in 2006-04-15 22:33:36.822921408 +0100
@@ -125,7 +125,7 @@
# PLUTO_CONNECTION_TYPE
#
-# Import default _updown configs from the /etc/sysconfig/pluto_updown file
+# Import default _updown configs from the /etc/default/pluto_updown file
#
# Two variables can be set in this file:
#
@@ -141,9 +141,9 @@
# IPRULEARGS
# is the extra argument list for ip rule command
#
-if [ -f /etc/sysconfig/pluto_updown ]
+if [ -f /etc/default/pluto_updown ]
then
- . /etc/sysconfig/pluto_updown
+ . /etc/default/pluto_updown
fi
# check interface version
|