From: nbd Date: Wed, 20 Dec 2006 05:26:39 +0000 (+0000) Subject: add a workaround for self-killing init scripts on restart (#1023) X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=commitdiff_plain;h=799bc42c35fe59194ed18050828719ce13f52ac6 add a workaround for self-killing init scripts on restart (#1023) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5876 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/base-files/files/etc/rc.common b/package/base-files/files/etc/rc.common index 1e6c5e912b..5d9ee8666f 100755 --- a/package/base-files/files/etc/rc.common +++ b/package/base-files/files/etc/rc.common @@ -18,6 +18,7 @@ reload() { } restart() { + trap '' TERM stop start }