diff loadtools/hwparam.c @ 28:768a3d012931

loadtool: default exit mode setting implemented
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sat, 04 May 2013 06:39:05 +0000
parents 67a39d8914a8
children 278052b6afda
line wrap: on
line diff
--- a/loadtools/hwparam.c	Sat May 04 06:22:09 2013 +0000
+++ b/loadtools/hwparam.c	Sat May 04 06:39:05 2013 +0000
@@ -12,6 +12,8 @@
 
 extern char default_helpers_dir[];
 
+extern void set_default_exit_mode();
+
 char hw_init_script[128];
 
 static void
@@ -104,6 +106,7 @@
 	char *name;
 	void (*func)();
 } cmdtab[] = {
+	{"exit-mode", set_default_exit_mode},
 	{"init-script", handle_init_script},
 	{"pll-config", handle_pll_config},
 	{"rhea-cntl", handle_rhea_cntl},