changeset 54:50b652bc3a4f

loadtools: made the baud command available in init-script for fc-xram
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 23 Jun 2013 05:47:17 +0000
parents 604648026e9c
children 278052b6afda
files loadtools/initscript.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/loadtools/initscript.c	Sun Jun 23 05:16:47 2013 +0000
+++ b/loadtools/initscript.c	Sun Jun 23 05:47:17 2013 +0000
@@ -11,6 +11,8 @@
 
 extern char default_helpers_dir[];
 
+extern int cmd_baud();
+
 static
 loadagent_cmd(argc, argv)
 	char **argv;
@@ -30,6 +32,7 @@
 	int maxargs;
 	int (*func)();
 } cmdtab[] = {
+	{"baud", 1, 1, cmd_baud},
 	{"w8", 2, 2, loadagent_cmd},
 	{"w16", 2, 2, loadagent_cmd},
 	{"w32", 2, 2, loadagent_cmd},