local from="$1"
local conc="cat"
- [ $GZIPED -eq 1 ] && conc="zcat"
+ [ "$GZIPED" -eq 1 ] && conc="zcat"
case "$from" in
http://*|ftp://*) wget -O- -q "$from" | "$conc";;
[ -n "$DELAY" ] && sleep "$DELAY"
ask_bool 1 "Reboot" && {
v "Rebooting system..."
+ echo b 2>/dev/null >/proc/sysrq-trigger
reboot
}
}