diff options
author | Felix Fietkau <nbd@openwrt.org> | 2005-04-04 22:02:56 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2005-04-04 22:02:56 +0000 |
commit | 8650537423a3aed0ac9a47a7313247075bfa2b2b (patch) | |
tree | bd647611e239eb2a832ac1f89b285d97bd896046 | |
parent | e8d87c5857d1eae75e309515f9349c11d9bfb5d7 (diff) | |
download | upstream-8650537423a3aed0ac9a47a7313247075bfa2b2b.tar.gz upstream-8650537423a3aed0ac9a47a7313247075bfa2b2b.tar.bz2 upstream-8650537423a3aed0ac9a47a7313247075bfa2b2b.zip |
fix reboot in mtd.c
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@560 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/openwrt/mtd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/openwrt/mtd.c b/package/openwrt/mtd.c index 645ad11809..6771b3c217 100644 --- 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; } |