discover: Use platform code to read sysinfo type and identifier
[petitboot] / utils / pb-sysinfo
index 001535a46fac14934e7fc5be2a4ccf86317de9f8..7d6635cf0351c87f1d66429c0f8f26f8eb93c5ed 100755 (executable)
@@ -1,12 +1,6 @@
 #!/bin/sh
 
 case "$1" in
-'--type')
-       tr -d '\0' < /proc/device-tree/model
-       ;;
-'--id')
-       tr -d '\0' < /proc/device-tree/system-id
-       ;;
 '--debug-enabled')
        exec >/dev/null 2>&1
        nvram --print-config=petitboot,debug? | grep -q true && exit 0