From: Felix Fietkau 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: http://207.154.207.93/?a=commitdiff_plain;h=8b3f951d4068978770159c11a40acb320914b015;p=15.05%2Fopenwrt.git 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 }