nameif: add matching by phy_address=NUM; extend help text
function old new delta nameif_main 618 686 +68 packed_usage 28095 28149 +54 prepend_new_eth_table 295 338 +43 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/0 up/down: 165/0) Total: 165 bytes Signed-off-by: Phil Sutter <phil.sutter@viprinet.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
		
				
					committed by
					
						
						Denys Vlasenko
					
				
			
			
				
	
			
			
			
						parent
						
							2adc0e6d8b
						
					
				
				
					commit
					293a8f250d
				
			@@ -2546,20 +2546,6 @@ INSERT
 | 
			
		||||
       "ras3 reset retension rewind rewoffline seek setblk setdensity\n" \
 | 
			
		||||
       "setpart tell unload unlock weof wset" \
 | 
			
		||||
 | 
			
		||||
#define nameif_trivial_usage \
 | 
			
		||||
       "[-s] [-c FILE] [{IFNAME MACADDR}]"
 | 
			
		||||
#define nameif_full_usage "\n\n" \
 | 
			
		||||
       "Rename network interface while it in the down state\n" \
 | 
			
		||||
     "\nOptions:" \
 | 
			
		||||
     "\n	-c FILE		Use configuration file (default: /etc/mactab)" \
 | 
			
		||||
     "\n	-s		Use syslog (LOCAL0 facility)" \
 | 
			
		||||
     "\n	IFNAME MACADDR	new_interface_name interface_mac_address" \
 | 
			
		||||
 | 
			
		||||
#define nameif_example_usage \
 | 
			
		||||
       "$ nameif -s dmz0 00:A0:C9:8C:F6:3F\n" \
 | 
			
		||||
       " or\n" \
 | 
			
		||||
       "$ nameif -c /etc/my_mactab_file\n" \
 | 
			
		||||
 | 
			
		||||
#define nohup_trivial_usage \
 | 
			
		||||
       "PROG ARGS"
 | 
			
		||||
#define nohup_full_usage "\n\n" \
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user