X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/8bf683b4afd61cc191c001f28815061e4fd5c8a1..a76d594d0d501af4fe29a23d27a97356f69133d1:/package/openwrt/mtd.c diff --git a/package/openwrt/mtd.c b/package/openwrt/mtd.c index 645ad1180..6771b3c21 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; }