projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed last typo. Init.d now uses ifconfig command to set both the tap's IP
[tinc]
/
debian
/
init.d
diff --git
a/debian/init.d
b/debian/init.d
index
c006fec
..
3e58dd0
100644
(file)
--- a/
debian/init.d
+++ b/
debian/init.d
@@
-1,7
+1,7
@@
#! /usr/bin/perl -w
#
# System startup script for tinc
#! /usr/bin/perl -w
#
# System startup script for tinc
-# $Id: init.d,v 1.1
1 2000/05/21 22:08:21
guus Exp $
+# $Id: init.d,v 1.1
2 2000/05/21 22:21:38
guus Exp $
#
# Based on Lubomir Bulej's Redhat init script.
#
#
# Based on Lubomir Bulej's Redhat init script.
#
@@
-129,7
+129,7
@@
sub vpn_start {
system("insmod ethertap -s --name=\"ethertap$NUM\" unit=\"$NUM\" >/dev/null");
system("ifconfig $DEV hw ether $MAC");
system("insmod ethertap -s --name=\"ethertap$NUM\" unit=\"$NUM\" >/dev/null");
system("ifconfig $DEV hw ether $MAC");
- system("ifconfig $DEV $ADR netmask $
M
SK broadcast $BRD -arp");
+ system("ifconfig $DEV $ADR netmask $
VPNMA
SK broadcast $BRD -arp");
system("start-stop-daemon --start --quiet --pidfile /var/run/$NAME.$_[0].pid --exec $DAEMON -- -n $_[0] $EXTRA");
}
system("start-stop-daemon --start --quiet --pidfile /var/run/$NAME.$_[0].pid --exec $DAEMON -- -n $_[0] $EXTRA");
}