diff -Nur e-smith-base-5.8.0/root/etc/e-smith/templates/etc/sysconfig/network-scripts/route-ethX/10localroutes e-smith-base-5.8.0_bz10083/root/etc/e-smith/templates/etc/sysconfig/network-scripts/route-ethX/10localroutes --- e-smith-base-5.8.0/root/etc/e-smith/templates/etc/sysconfig/network-scripts/route-ethX/10localroutes 2007-01-19 22:33:20.000000000 +0100 +++ e-smith-base-5.8.0_bz10083/root/etc/e-smith/templates/etc/sysconfig/network-scripts/route-ethX/10localroutes 2017-02-09 12:16:16.303385445 +0100 @@ -20,7 +20,6 @@ return "# template expansion error - Could not open networks db\n"; } - my $index = 0; foreach my $network ($db->networks) { # Skip local network @@ -34,10 +33,7 @@ my $netmask = $network->prop('Mask'); my $net = $network->key; - $OUT .= "ADDRESS$index=$net\n"; - $OUT .= "NETMASK$index=$netmask\n"; - $OUT .= "GATEWAY$index=$router\n"; - $index++; + $OUT .= $net . '/' . $netmask . ' via ' . $router . "\n"; } }