Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 179747 - net-misc/vpnc init script bashisms
Summary: net-misc/vpnc init script bashisms
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Christian Faulhammer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-25 13:03 UTC by Mike McQuaid
Modified: 2007-05-29 07:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike McQuaid 2007-05-25 13:03:03 UTC
Bashisms in /etc/init.d/vpnc

Line 7 of /etc/init.d/vpnc
if [[ -n ${VPN} && ${SVCNAME} != "vpnc" ]];

Line 20 of /etc/init.d/vpnc
if [[ ! -e /dev/net/tun ]]; then

Line 26 of /etc/init.d/vpnc
if [[ -h /dev/net/tun && -c /dev/misc/net/tun ]]; then

Line 39 of /etc/init.d/vpnc
if [[ ! -e "${VPNCONF}" ]]; then
Comment 1 Christian Faulhammer (RETIRED) gentoo-dev 2007-05-29 07:59:57 UTC
Thanks a lot.  Fixed in CVS.