From: Josip Rodin Date: Sun, 13 Sep 2009 13:56:35 +0000 (+0200) Subject: objasnio lo bolje; popravio Linux route(8) sintaksu X-Git-Url: https://git.entuzijast.net/?a=commitdiff_plain;h=328414a37e6c54e3b2268df1e836a38053763bdd;p=imunes.git objasnio lo bolje; popravio Linux route(8) sintaksu --- diff --git a/linux/host.tcl b/linux/host.tcl index 8b6bc78..82159bc 100755 --- a/linux/host.tcl +++ b/linux/host.tcl @@ -94,14 +94,14 @@ proc $MODULE.cfggen { node } { } } - #localhost se sam za sebe nece dici u OpenVZ + # sami napravimo localhost da ne moramo u VEu imati netbase+ifupdown lappend cfg "ifconfig lo 127.0.0.1 netmask 255.0.0.0" foreach statrte [getStatIPv4routes $node] { - lappend cfg "route -q add -inet $statrte" + lappend cfg "route add -A inet $statrte" } foreach statrte [getStatIPv6routes $node] { - lappend cfg "route -q add -inet6 $statrte" + lappend cfg "route add -A inet6 $statrte" } # Temporary fix to enable multiple inetd and rpcbind processes diff --git a/linux/pc.tcl b/linux/pc.tcl index 1abcb19..1988339 100755 --- a/linux/pc.tcl +++ b/linux/pc.tcl @@ -91,14 +91,14 @@ proc $MODULE.cfggen { node } { } } - #localhost se sam za sebe nece dici u OpenVZ + # sami napravimo localhost da ne moramo u VEu imati netbase+ifupdown lappend cfg "ifconfig lo 127.0.0.1 netmask 255.0.0.0" foreach statrte [getStatIPv4routes $node] { - lappend cfg "route -q add -inet $statrte" + lappend cfg "route add -A inet $statrte" } foreach statrte [getStatIPv6routes $node] { - lappend cfg "route -q add -inet6 $statrte" + lappend cfg "route add -A inet6 $statrte" } return $cfg }