diff --git a/scripts/armhwinfo b/scripts/armhwinfo index fbfab77e22..1caaf3ffcf 100644 --- a/scripts/armhwinfo +++ b/scripts/armhwinfo @@ -255,10 +255,6 @@ case $1 in # check whether auto detection override exists and if true use this for machine.id [ -f /root/.machine.id ] && cat /root/.machine.id >/var/run/machine.id log_hardware_info - - # crash detection, enable verbose logging and disable it at clean shutdown - [[ -f /boot/armbianEnv.txt ]] && sed -i "s/^verbosity=.*/verbosity=7/" /boot/armbianEnv.txt && sync & - touch /boot/.verbose ;; query) # armbianmonitor mode -- only interested in hardware info @@ -267,11 +263,6 @@ case $1 in export HARDWARE ARCH KERNELID MACHINE BOARD_NAME VERSION ;; *stop*) - # set verbosity=1 only if set to 7 and /boot/.force-verbose doesn't exist. - if [ ! -f /boot/.force-verbose ]; then - [[ -f /boot/armbianEnv.txt ]] && sed -i "s/^verbosity=.*/verbosity=1/" /boot/armbianEnv.txt - rm /boot/.verbose - fi case ${LINUXFAMILY} in sun?i) # redefine green led to blink until shutdown, try to switch OTG port to host