From 799bc42c35fe59194ed18050828719ce13f52ac6 Mon Sep 17 00:00:00 2001 From: nbd Date: Wed, 20 Dec 2006 05:26:39 +0000 Subject: [PATCH] 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 --- package/base-files/files/etc/rc.common | 1 + 1 file changed, 1 insertion(+) diff --git a/package/base-files/files/etc/rc.common b/package/base-files/files/etc/rc.common index 1e6c5e912..5d9ee8666 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 } -- 2.20.1