libs/sys: remove luci.sys.flash()
[project/luci.git] / modules / admin-core / root / sbin / luci-flash
index 5600cdd..1874e8c 100755 (executable)
@@ -1,11 +1,15 @@
 #!/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
 export KEEP_PATTERN=""
-export VERBOSE=0
+export VERBOSE=1
 
 # parse options
 while [ -n "$1" ]; do
@@ -90,4 +94,4 @@ if [ -n "$(rootfs_type)" ]; then
        run_ramfs '. /etc/functions.sh; include /lib/upgrade; do_upgrade'
 else
        do_upgrade
-fi
\ No newline at end of file
+fi