mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-02-17 18:14:43 +02:00
fix reboot in mtd.c
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@560 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
9df49bbe48
commit
3006a8ce77
@ -324,7 +324,7 @@ int main (int argc, char **argv)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (boot)
|
if (boot)
|
||||||
reboot(0);
|
kill(1, 15); // send SIGTERM to init for reboot
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user