Browse Source

we have to start OpenVPN earlier so other daemons can already use VPN address spaces

Ralf S. Engelschall 20 years ago
parent
commit
02bcd99d2c
2 changed files with 3 additions and 3 deletions
  1. 1 1
      openvpn/openvpn.spec
  2. 2 2
      openvpn/rc.openvpn

+ 1 - 1
openvpn/openvpn.spec

@@ -37,7 +37,7 @@ Class:        PLUS
 Group:        Network
 License:      GPL
 Version:      %{V_opkg}
-Release:      20050608
+Release:      20050715
 
 #   package options
 %option       with_fsl  yes

+ 2 - 2
openvpn/rc.openvpn

@@ -36,7 +36,7 @@
     echo "openvpn_usable=\"$openvpn_usable\""
     echo "openvpn_active=\"$openvpn_active\""
 
-%start -u @l_susr@
+%start -p 200 -u @l_susr@
     rcService openvpn enable yes || exit 0
     rcService openvpn active yes && exit 0
     if [ -f $openvpn_etcdir/openvpn.sh ]; then
@@ -57,7 +57,7 @@
             --cd $openvpn_etcdir || exit $?
     done
 
-%stop -u @l_susr@
+%stop -p 800 -u @l_susr@
     rcService openvpn enable yes || exit 0
     rcService openvpn active no && exit 0
     for cfgfile in $openvpn_etcdir/*.conf; do