diff options
author | Stanislav Brabec <utx@penguin.cz> | 2009-01-01 23:33:43 +0000 |
---|---|---|
committer | utx@penguin.cz <utx@penguin.cz> | 2009-01-01 23:35:15 +0000 |
commit | 435e2974120ea0a5218db519ef4a6360d4e6d319 (patch) | |
tree | f58a01031c005bc3f4e0f173a7aefc724df8a8e9 /packages | |
parent | 3129426514932a31dc4820d72fbe21364b8055fa (diff) |
openvpn init script: Ensure that tun module is loaded.
Diffstat (limited to 'packages')
-rwxr-xr-x | packages/openvpn/files/openvpn | 1 | ||||
-rw-r--r-- | packages/openvpn/openvpn_2.0.9.bb | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/packages/openvpn/files/openvpn b/packages/openvpn/files/openvpn index 94bdc600e0..a3cd6a2f49 100755 --- a/packages/openvpn/files/openvpn +++ b/packages/openvpn/files/openvpn @@ -13,6 +13,7 @@ test -x $DAEMON || exit 0 test -d $CONFIG_DIR || exit 0 start_vpn () { + modprobe tun >/dev/null 2>&1 || true $DAEMON --daemon --writepid /var/run/openvpn.$NAME.pid \ --config $CONFIG_DIR/$NAME.conf --cd $CONFIG_DIR || echo -n " FAILED->" echo -n " $NAME" diff --git a/packages/openvpn/openvpn_2.0.9.bb b/packages/openvpn/openvpn_2.0.9.bb index bb22dc9059..5bb4a2822b 100644 --- a/packages/openvpn/openvpn_2.0.9.bb +++ b/packages/openvpn/openvpn_2.0.9.bb @@ -1,3 +1,3 @@ require openvpn.inc -PR = "r1" +PR = "r2" |