1
0
mirror of https://git.openwrt.org/feed/routing.git synced 2024-06-17 04:33:58 +02:00
Commit Graph

20 Commits

Author SHA1 Message Date
Stefan Sperling
27762fdabe Replace == operator in test with = operator.
Requested by bittorf in https://github.com/openwrt-routing/packages/pull/155

(cherry picked from commit cde0b2f813)
2016-11-05 02:05:56 +01:00
Stefan Sperling
497950bf2c Fix '/etc/init.d/olsrd6 restart' breaks IPv4 SmartGateway.
Restarting olsrd for IPv6 clears SmartGateway firewall rules for both IPv4
and IPv6, and does not restore the IPv4 rules. As a result, IPv4 SmartGateway
functionality is broken after /etc/init.d/olsrd6 restart.

(cherry picked from commit f7ffb388b1)
2016-11-05 02:00:01 +01:00
Manuel Munz
a30af3990f make ipv6only boolean in olsrd init, backport from master 2016-01-04 21:45:46 +01:00
André Gaul
fe84974abb [olsrd] adapt init script for 0.6.8 (PingCmd option)
olsrd 0.6.8 accepts a PingCmd parameter as of
http://olsr.org/git/?p=olsrd.git;a=commitdiff;h=0a26c52af3941eb9060b193cae5552f8d13fd28e.
The PingCmd is a string of the form "ping -c 1 -q %s" where %s is
replaced with an IP. This commit allows for '%' characters in an olsrd
option.
2015-01-03 15:30:11 +01:00
Alessio Caiazza
0a08b22f15 olsrd: backward compatibility (config and init script) 2014-06-12 12:57:12 +02:00
Alessio Caiazza
93f819de32 olsrd: avoid fake startup-error messages
Calling service_check too early may result in a false reading
2014-05-28 17:02:40 +02:00
Alessio Caiazza
60e06a3da7 olsrd: configuration sanity checks
* do not start in presence of the old /etc/config/olsrd
* use always use the appropriate IpVersion.
2014-05-28 16:55:55 +02:00
Alessio Caiazza
4b06c42f97 olsrd: splitting IPv6/4 configuration and start scripts
As mentioned by zioproto[1] 6and4 is badly broken, this patch will
use 2 different configuration and init scripts.

[1] https://github.com/openwrt-routing/packages/issues/16#issuecomment-32892327
2014-05-28 15:09:07 +02:00
Daniel Golle
a9f43d29e9 IPv6 SmartGW doesn't require IPv6 NAT support 2014-02-11 19:08:20 +01:00
Manuel Munz
099a7bf136 Fix config creation for multiple LinkQualityMult entries in uci config 2013-11-12 15:51:56 +01:00
Manuel Munz
385bb5489d if we could not get the l3 device in olsrd_write_interface then try to get the
physical device instead. But only if the protocoll is "static" or "none".
	This is useful to write Interfaces in the resulting olsrd.conf file which
	are not up at the time olsrd is starting (e.g. tunnel interfaces):
2013-08-07 23:39:18 +02:00
Thomas Huehn
16f7810f11 [PATCH] fix olsr.init script function olsrd_write_plparam() as it wrongly removes dashes. olsrd deamon did not start when the nameservice plugin was active. 2013-04-26 09:14:46 +02:00
Bastian Bittorf
7d9d64d35f Revert "olsr: init: JOW IS THE BEST !!!"
This reverts commit 2bc5304b69.
2013-04-19 16:00:22 +02:00
Bastian Bittorf
2bc5304b69 olsr: init: JOW IS THE BEST !!! 2013-04-19 15:57:55 +02:00
Bastian Bittorf
ea04190617 olsrd: init: cosmetics: always include to name of the script in logoutput 2013-04-19 14:35:05 +02:00
Bastian Bittorf
ea90929d76 olsr: init: log: move the error logging just under the normal logger 2013-04-19 13:04:49 +02:00
Bastian Bittorf
c92fa19ddc olsrd: init: verbose logging if daemon-startup fails. till now everything is quiet in this situation. reproduce via configuring httpinfo-plugin on ipv6-socket (which throws an silent error) 2013-04-19 12:36:03 +02:00
Bastian Bittorf
08ab70a984 olsrd: init: fix all work with is done via IFS (storing old value, set IFS, work, set back to old value) 2013-04-19 12:18:59 +02:00
Bastian Bittorf
1d387e8dd2 olsrd: init: updated (c)-year to 2013 2013-04-19 11:54:10 +02:00
Jo-Philipp Wich
0015a5a216 move olsrd files into subdirectory 2013-04-18 18:48:30 +02:00