[BusyBox-cvs] busybox/include applets.h,1.83,1.84 usage.h,1.130,1.131

Glenn McGrath bug1 at busybox.net
Fri Dec 13 00:01:47 UTC 2002


Update of /var/cvs/busybox/include
In directory winder:/tmp/cvs-serv16637/include

Modified Files:
	applets.h usage.h 
Log Message:
New applet, nameif by Nick Fedchik and myself.


Index: applets.h
===================================================================
RCS file: /var/cvs/busybox/include/applets.h,v
retrieving revision 1.83
retrieving revision 1.84
diff -u -d -r1.83 -r1.84
--- applets.h	10 Dec 2002 00:17:22 -0000	1.83
+++ applets.h	13 Dec 2002 00:01:43 -0000	1.84
@@ -368,6 +368,9 @@
 #ifdef CONFIG_MV
 	APPLET(mv, mv_main, _BB_DIR_BIN, _BB_SUID_NEVER)
 #endif
+#ifdef CONFIG_NAMEIF
+	APPLET(nameif, nameif_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
+#endif
 #ifdef CONFIG_NC
 	APPLET(nc, nc_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
 #endif

Index: usage.h
===================================================================
RCS file: /var/cvs/busybox/include/usage.h,v
retrieving revision 1.130
retrieving revision 1.131
diff -u -d -r1.130 -r1.131
--- usage.h	12 Dec 2002 12:56:18 -0000	1.130
+++ usage.h	13 Dec 2002 00:01:43 -0000	1.131
@@ -1453,6 +1453,19 @@
 #define mv_example_usage \
 	"$ mv /tmp/foo /bin/bar\n" 
 
+#define nameif_trivial_usage \
+	"[OPTIONS] [{IFNAME MACADDR}]"
+#define nameif_full_usage \
+		"Nameif renaming network interface while it in the down state.\n\n" \
+		"Options:\n" \
+		"\t-c FILE\t\tUse another configuration file (default is /etc/mactab)\n" \
+		"\t-s\t\tUse syslog (LOCAL0 facility).\n" \
+		"\tIFNAME MACADDR\tnew_interface_name interface_mac_address\n" 
+#define nameif_example_usage \
+		"$ nameif -s dmz0 00:A0:C9:8C:F6:3F\n" \
+		" or\n" \
+		"$ nameif -c /etc/my_mactab_file\n" \
+
 #define nc_trivial_usage \
 	"[OPTIONS] [IP] [port]" 
 #define nc_full_usage \




More information about the busybox-cvs mailing list