projects
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9df49bb
)
fix reboot in mtd.c
author
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 4 Apr 2005 22:02:56 +0000
(22:02 +0000)
committer
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 4 Apr 2005 22:02:56 +0000
(22:02 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@560
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
package/openwrt/mtd.c
patch
|
blob
|
history
diff --git
a/package/openwrt/mtd.c
b/package/openwrt/mtd.c
index
645ad11
..
6771b3c
100644
(file)
--- a/
package/openwrt/mtd.c
+++ b/
package/openwrt/mtd.c
@@
-324,7
+324,7
@@
int main (int argc, char **argv)
}
if (boot)
- reboot(0);
+ kill(1, 15); // send SIGTERM to init for reboot
return 0;
}
This page took
0.023214 seconds
and
4
git commands to generate.