Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 139841 Details for
Bug 204015
baselayout tuntap.sh doesn't create tun devices properly
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
tuntap.sh openvpn tunctl_ patch
tuntap.sh.patch (text/plain), 712 bytes, created by
impulze
on 2008-01-02 02:22:32 UTC
(
hide
)
Description:
tuntap.sh openvpn tunctl_ patch
Filename:
MIME Type:
Creator:
impulze
Created:
2008-01-02 02:22:32 UTC
Size:
712 bytes
patch
obsolete
>--- tuntap.sh.orig 2008-01-02 03:11:23.000000000 +0100 >+++ tuntap.sh 2008-01-02 03:14:02.000000000 +0100 >@@ -57,6 +57,7 @@ > tuntap_pre_start() { > local iface="$1" ifvar=$(bash_variable "$1") > local tuntap="tuntap_${ifvar}" >+ local opts="tunctl_${ifvar}" > > [[ -z ${!tuntap} ]] && return 0 > tuntap_check_kernel || return 1 >@@ -65,12 +66,11 @@ > > # Set the base metric to 1000 > metric=1000 >- >- if [[ -x /usr/sbin/openvpn ]] ; then >+ >+ if [[ -z "${!opts}" ]] && [[ -x /usr/sbin/openvpn ]] ; then > openvpn --mktun --dev-type "${!tuntap}" --dev "${iface}" \ > > /dev/null > else >- local opts="tunctl_${ifvar}" > tunctl ${!opts} -t "${iface}" >/dev/null > fi > eend $? && save_options tuntap "${!tuntap}"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 204015
: 139841