diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-04-04 22:02:56 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-04-04 22:02:56 +0000 |
commit | d45205b8652dd46919e9487184c6631cc6bf7632 (patch) | |
tree | de5403a0ea0143ceeb51c74b8898753686d7adc8 | |
parent | ac1214ccca809388ec0fdb846d443247ecb6b464 (diff) |
fix reboot in mtd.c
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@560 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | openwrt/package/openwrt/mtd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/package/openwrt/mtd.c b/openwrt/package/openwrt/mtd.c index 645ad1180..6771b3c21 100644 --- 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; } |