summaryrefslogtreecommitdiffstats
path: root/package/base-files
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-12-20 05:26:39 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-12-20 05:26:39 +0000
commit799bc42c35fe59194ed18050828719ce13f52ac6 (patch)
treef5d3eb6a0684403c5c558b09b92dc78e25cc5fa0 /package/base-files
parent1724fa576fdf87a95b410754139e6d90d10d97da (diff)
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
Diffstat (limited to 'package/base-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 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
}