# HG changeset patch # User Pascal Bellard # Date 1455441244 -3600 # Node ID 37371a0ba56156afd5a604f980c51d41d7b79590 # Parent 0a48c6e8d1df7f90a17ff4705b59919b2e9bd45d hardware.cgi: fix detect-usb output diff -r 0a48c6e8d1df -r 37371a0ba561 boot.cgi --- a/boot.cgi Sun Jan 24 22:20:07 2016 +0100 +++ b/boot.cgi Sun Feb 14 10:14:04 2016 +0100 @@ -218,7 +218,7 @@ esac echo "" # Attempt to get daemon status - pidfile=$(find /var/run -name *$name*.pid) + pidfile=$(find /run /var/run -name *$name*.pid) [ "$pidfile" ] && pid=$(cat $pidfile) # Dbus [ -f /var/run/${name}/pid ] && pid=$(cat /var/run/${name}/pid) diff -r 0a48c6e8d1df -r 37371a0ba561 hardware.cgi --- a/hardware.cgi Sun Jan 24 22:20:07 2016 +0100 +++ b/hardware.cgi Sun Feb 14 10:14:04 2016 +0100 @@ -113,8 +113,8 @@ cat <$(_ 'Detect PCI and USB hardware')

EOT - tazhw detect-pci | sed 's|^>|\>|g' - tazhw detect-usb | sed 's|^>|\>|g' + tazhw detect-pci | htmlize + tazhw detect-usb | htmlize | filter_taztools_msgs ;;