refactory recipes, move system dependencies code to board specific layer
This commit is contained in:
@@ -3,8 +3,10 @@
|
||||
PATH=/sbin:/bin:/usr/sbin:/usr/bin
|
||||
DESC="Auto deployment configuration from media"
|
||||
|
||||
. /etc/profile
|
||||
|
||||
if [ -z "$DISK" ]; then
|
||||
DISK="mmcblk1"
|
||||
DISK="mmcblk0"
|
||||
fi
|
||||
|
||||
case "$1" in
|
||||
|
@@ -1,7 +1,8 @@
|
||||
#! /bin/sh
|
||||
. /etc/profile
|
||||
|
||||
if [ -z "$DISK" ]; then
|
||||
DISK="mmcblk1"
|
||||
DISK="mmcblk0"
|
||||
fi
|
||||
|
||||
if [ "$(/usr/bin/id -u)" -ne 0 ]; then
|
||||
|
Reference in New Issue
Block a user