Commit graph

15 commits

Author SHA1 Message Date
Ivo Timmermans
377c4df245 Don't touch VPNMASK if it's defined, otherwise use $MSK. 2000-06-03 23:32:03 +00:00
Guus Sliepen
18b3084d25 Debian init.d script automatically sets tap device's MTU to 1448 now. 2000-06-01 20:21:27 +00:00
Ivo Timmermans
2469acc090 When VpnMask is not present in the config file, silently use $MSK as vpnmask. 2000-05-21 22:27:31 +00:00
Guus Sliepen
73b3e7ce03 Fixed last typo. Init.d now uses ifconfig command to set both the tap's IP
address as well as the correct route. Furthermore, if no VpnMask is given,
a default of 255.255.0.0 is chosen and a warning issued.
2000-05-21 22:21:38 +00:00
Guus Sliepen
2ad4f1cc5b Typo. 2000-05-21 22:08:21 +00:00
Guus Sliepen
e25fc3a3dc VpnMask truely works now. 2000-05-21 22:04:56 +00:00
Ivo Timmermans
9ec4decec1 Mask the vpn net with the vpn netmask, route would give an error if the netmask didn't match the net. 2000-05-19 01:17:32 +00:00
Ivo Timmermans
01352f4c52 Errors will not terminate the script or result in a nonzero exit code. 2000-05-19 00:15:37 +00:00
Ivo Timmermans
e7d583adfa Read /etc/tinc/nets.boot to find the networks that have to be started. 2000-05-18 23:09:31 +00:00
Ivo Timmermans
cdab82d6fb Use the new VpnMask directive to add a route to the rest of the VPN. 2000-05-16 14:34:44 +00:00
Ivo Timmermans
b18af982af Exit with zero status if is empty. 2000-05-15 17:15:52 +00:00
Guus Sliepen
a0c4e7fe6d Test for existence of configured tinc networks. This will also make
first install of tinc possible without errors.
2000-05-15 09:41:34 +00:00
Ivo Timmermans
269067bb22 Perl version of the system startup script. 2000-05-13 00:54:27 +00:00
Ivo Timmermans
bce2179fe3 Copied most of the code from the redhat script. 2000-05-04 23:26:24 +00:00
Ivo Timmermans
45b275e254 Initial CVS. 2000-04-25 19:11:02 +00:00