base-files: replace backticks by $(...)
[openwrt/staging/dedeckeh.git] / package / base-files / files / lib / preinit / 30_failsafe_wait
index 85dca398fa781824161388a894002a7c1188a47b..a2c2c386aa3aa5963e01cec640cc32e5858d120b 100644 (file)
@@ -91,7 +91,7 @@ failsafe_wait() {
        grep -q 'failsafe=' /proc/cmdline && FAILSAFE=true && export FAILSAFE
        if [ "$FAILSAFE" != "true" ]; then
                fs_wait_for_key f 'to enter failsafe mode' $fs_failsafe_wait_timeout && FAILSAFE=true
-               [ -f "/tmp/failsafe_button" ] && FAILSAFE=true && echo "- failsafe button "`cat /tmp/failsafe_button`" was pressed -"
+               [ -f "/tmp/failsafe_button" ] && FAILSAFE=true && echo "- failsafe button "$(cat /tmp/failsafe_button)" was pressed -"
                [ "$FAILSAFE" = "true" ] && export FAILSAFE && touch /tmp/failsafe
        fi
 }