Skip to content

Instantly share code, notes, and snippets.

Avatar

Lioh Moeller LiohMoeller

View GitHub Profile
View install_emmc.sh
#!/bin/bash
# Init
FILE="/tmp/out.$$"
GREP="/bin/grep"
#....
# Make sure only root can run our script
if [ "$(id -u)" -ne "0" ]; then
echo "This script requires root."
You can’t perform that action at this time.