reboot now works on foxboard

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7496 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
John Crispin
2007-06-04 20:33:08 +00:00
parent b051726d7f
commit 97c5064940

View File

@@ -0,0 +1,10 @@
--- linux-2.6.19.2.orig/kernel/sys.c 2007-06-04 22:00:44.000000000 +0200
+++ linux-2.6.19.2/kernel/sys.c 2007-06-04 22:02:06.000000000 +0200
@@ -829,6 +829,7 @@
break;
case LINUX_REBOOT_CMD_CAD_ON:
+ kernel_restart(NULL);
C_A_D = 1;
break;