search for: ensure_and_save_command

Displaying 4 results from an estimated 4 matches for "ensure_and_save_command".

2005 Jun 20
1
problems with boot in multiple ISPs
...10:58:41.000000000 -0300 +++ shorewall/firewall 2005-06-20 12:03:51.523989888 -0300 @@ -1168,7 +1168,7 @@ if [ -n "$PROVIDERS" ]; then if [ -n "$DEFAULT_ROUTE" ]; then - run_ip route replace default scope global $DEFAULT_ROUTE + ensure_and_save_command ip route replace default scope global $DEFAULT_ROUTE progress_message " Default route $DEFAULT_ROUTE Added." fi in this patch, the ensure_and_save_command could be swapped with run_and_save_command, depending on the action shorewall should take if this co...
2005 Jun 27
2
RTNETLINK answers: File exists
...NAME NUMBER MARK DUPLICATE INTERFACE GATEWAY OPTIONS INT1 1 1 main eth1 172.16.0.1 track,balance IP1 2 2 main eth2 172.16.0.2 track,balance shorewall debug start log looks like this: + ensure_and_save_command ip route add table 1 172.16.0.0/25 dev eth1 proto kernel scope link src 172.16.0.3 + eval ip route add table 1 172.16.0.0/25 dev eth1 proto kernel scope link src 172.16.0.3 ++ ip route add table 1 172.16.0.0/25 dev eth1 proto kernel scope link src 172.16.0.3 + echo ip route add table 1 172.16.0....
2006 Apr 28
0
Add burst when using shorewal internal tc
...script, adding a default 10k burst to all classes: --- firewall.orig 2006-04-28 19:13:32.000000000 +0300 +++ firewall 2006-04-28 19:14:30.000000000 +0300 @@ -3390,7 +3390,7 @@ [ -n "$devnum" ] || fatal_error "Device $device not defined in $devfile" - ensure_and_save_command tc class add dev $device parent $devnum:1 classid $classid htb rate $rate ceil $ceil prio $prio quantum $(calculate_quantum $rate) + ensure_and_save_command tc class add dev $device parent $devnum:1 classid $classid htb rate $rate ceil $ceil burst 10k prio $prio quantum $(calculate_quantu...
2005 May 31
11
More Tests for 2.4.0-RC2 - strange behaviour
...route flush table 1 ++ qt ip route flush table 1 ++ ip route flush table 1 + ''['' xatt ''!='' x- '']'' + run_ip route show table att + ip route show table att + read net route + ''['' x200.173.215.94 = xdetect '']'' + ensure_and_save_command ip route add default via 200.173.215.94 dev eth0 table 1 + eval ip route add default via 200.173.215.94 dev eth0 table 1 ++ ip route add default via 200.173.215.94 dev eth0 table 1 + echo ip route add default via 200.173.215.94 dev eth0 table 1 + verify_mark 1 + verify_mark2 1 + verify_mark1 1 + ev...