projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4344b64
)
modules/admin-core: trap signals in luci-flash
author
Jo-Philipp Wich
<jow@openwrt.org>
Sat, 3 Apr 2010 17:52:35 +0000
(17:52 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Sat, 3 Apr 2010 17:52:35 +0000
(17:52 +0000)
modules/admin-core/root/sbin/luci-flash
patch
|
blob
|
history
diff --git
a/modules/admin-core/root/sbin/luci-flash
b/modules/admin-core/root/sbin/luci-flash
index
a9ddc87
..
1874e8c
100755
(executable)
--- 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
#!/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