summaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-04-03 17:52:35 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-04-03 17:52:35 +0000
commit58529e7b7b30f87e47e23a208d07ed0d8acb81bf (patch)
tree14415779bdb37bc1438a80818d83a45c787b4be8 /modules
parent4344b64f3427582de2d036b4c61fcaaa420adc03 (diff)
modules/admin-core: trap signals in luci-flash
Diffstat (limited to 'modules')
-rwxr-xr-xmodules/admin-core/root/sbin/luci-flash4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/admin-core/root/sbin/luci-flash b/modules/admin-core/root/sbin/luci-flash
index a9ddc87f2e..1874e8c656 100755
--- a/modules/admin-core/root/sbin/luci-flash
+++ b/modules/admin-core/root/sbin/luci-flash
@@ -1,6 +1,10 @@
#!/bin/sh
. /etc/functions.sh
+trap '' INT
+trap '' TERM
+trap '' PIPE
+
# initialize defaults
RAMFS_COPY_BIN="/usr/bin/awk" # extra programs for temporary ramfs root
RAMFS_COPY_DATA="" # extra data files