mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-30 19:02:27 +00:00 
			
		
		
		
	fix for bug 3470: remove the ifname from the /etc/sysconfig/network/routes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15866 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -223,8 +223,13 @@ rm_persistent_route() | ||||
|             route="$net/$mask $gw - -"; | ||||
|             route1="$net\/$mask $gw - -"; | ||||
|         else | ||||
| 		    route="$net $gw $mask"; | ||||
| 		    route1="$net $gw $mask"; | ||||
|             if [ -n "$ifname" ]; then | ||||
| 		        route="$net $gw $mask $ifname"; | ||||
| 		        route1="$net $gw $mask $ifname"; | ||||
|             else | ||||
|                 route="$net $gw $mask"; | ||||
|                 route1="$net $gw $mask"; | ||||
|             fi | ||||
|         fi | ||||
| 		if [ -f $filename ]; then | ||||
|             grep "$route" $filename 2>&1 1>/dev/null | ||||
|   | ||||
		Reference in New Issue
	
	Block a user