Also chomp $VPNMASK

This commit is contained in:
Ivo Timmermans 2000-08-20 23:08:17 +00:00
parent 861e808fef
commit 94a32c4b2d

3
debian/init.d vendored
View file

@ -1,7 +1,7 @@
#! /usr/bin/perl -w #! /usr/bin/perl -w
# #
# System startup script for tinc # System startup script for tinc
# $Id: init.d,v 1.14.2.1 2000/06/03 23:32:03 zarq Exp $ # $Id: init.d,v 1.14.2.2 2000/08/20 23:08:17 zarq Exp $
# #
# Based on Lubomir Bulej's Redhat init script. # Based on Lubomir Bulej's Redhat init script.
# #
@ -68,6 +68,7 @@ sub vpn_load {
chomp($VPN); chomp($VPN);
} elsif ( /^[ ]*VpnMask[ =]+([^ \#]+)/i ) { } elsif ( /^[ ]*VpnMask[ =]+([^ \#]+)/i ) {
$VPNMASK=$1; $VPNMASK=$1;
chomp($VPNMASK);
} }
} }
if(!defined($DEV)) { if(!defined($DEV)) {