projects
/
openwrt
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
563fe2b
)
fix reboot in mtd.c
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 4 Apr 2005 22:02:56 +0000
(22:02 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 4 Apr 2005 22:02:56 +0000
(22:02 +0000)
SVN-Revision: 560
openwrt/package/openwrt/mtd.c
patch
|
blob
|
history
diff --git
a/openwrt/package/openwrt/mtd.c
b/openwrt/package/openwrt/mtd.c
index 645ad1180953a1024b97bb0ffb3095961afb169e..6771b3c2175305a24ad62d438cd8bfac2237d07b 100644
(file)
--- a/
openwrt/package/openwrt/mtd.c
+++ b/
openwrt/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;
}