diff options
Diffstat (limited to 'openwrt/package')
-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; } |