#!/bin/sh if [ ! -f /proc/device-tree/serial-number ]; then serial="recovery-mode" else serial=$(tr -d '\0'