From 799bc42c35fe59194ed18050828719ce13f52ac6 Mon Sep 17 00:00:00 2001 From: nbd Date: Wed, 20 Dec 2006 05:26:39 +0000 Subject: 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(+) (limited to 'package/base-files/files/etc') 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 } -- cgit v1.2.3