summaryrefslogtreecommitdiff
path: root/package/base-files/files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-12-20 05:26:39 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-12-20 05:26:39 +0000
commit4bef6e13c29575235f074d1c9333d30e251dc500 (patch)
treed8db79c75d3500be506f99028d0fbbeb2a7d3ea1 /package/base-files/files
parente90a752d4d66900e98b2f224afd5517fa92af215 (diff)
downloadmtk-20170518-4bef6e13c29575235f074d1c9333d30e251dc500.zip
mtk-20170518-4bef6e13c29575235f074d1c9333d30e251dc500.tar.gz
mtk-20170518-4bef6e13c29575235f074d1c9333d30e251dc500.tar.bz2
add a workaround for self-killing init scripts on restart (#1023)
SVN-Revision: 5876
Diffstat (limited to 'package/base-files/files')
-rwxr-xr-xpackage/base-files/files/etc/rc.common1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/base-files/files/etc/rc.common b/package/base-files/files/etc/rc.common
index 1e6c5e9..5d9ee86 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
}