add support for NanoPi NEO/NEO2

This commit is contained in:
LawrenceTang
2017-05-17 16:53:40 +08:00
parent 3e699b0814
commit b480f36175
3 changed files with 262 additions and 249 deletions

2
build Normal file → Executable file
View File

@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
# check if sudo is required and save the result as ${PFX}:
[[ ${EUID} -ne 0 ]] && PFX='sudo ' || PFX=''