modules/admin-core: trap signals in luci-flash
authorJo-Philipp Wich <jow@openwrt.org>
Sat, 3 Apr 2010 17:52:35 +0000 (17:52 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sat, 3 Apr 2010 17:52:35 +0000 (17:52 +0000)
modules/admin-core/root/sbin/luci-flash

index a9ddc87..1874e8c 100755 (executable)
@@ -1,6 +1,10 @@
 #!/bin/sh
 . /etc/functions.sh
 
 #!/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
 # initialize defaults
 RAMFS_COPY_BIN="/usr/bin/awk"       # extra programs for temporary ramfs root
 RAMFS_COPY_DATA=""      # extra data files