X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=utils%2Fpb-sysinfo;h=7d6635cf0351c87f1d66429c0f8f26f8eb93c5ed;hb=6897abaa97a02e0ab8ac07209a5e4966bfe101c5;hp=001535a46fac14934e7fc5be2a4ccf86317de9f8;hpb=052961eb2e8279f103c091e850c317da335c0207;p=petitboot diff --git a/utils/pb-sysinfo b/utils/pb-sysinfo index 001535a..7d6635c 100755 --- a/utils/pb-sysinfo +++ b/utils/pb-sysinfo @@ -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