Skip to content
Snippets Groups Projects
Unverified Commit c829d5d3 authored by Johannes Schauer Marin Rodrigues's avatar Johannes Schauer Marin Rodrigues
Browse files

sbin/reform-display-config: remove leftover DTB check

parent 9f545eaf
No related branches found
No related tags found
No related merge requests found
...@@ -7,8 +7,6 @@ if [ "$EUID" -ne 0 ] ...@@ -7,8 +7,6 @@ if [ "$EUID" -ne 0 ]
exit exit
fi fi
DTB="x"
DTB_TARGET="imx8mq-mnt-reform2.dtb"
CHOICE="$1" CHOICE="$1"
BOOTPART="mmcblk1p1" BOOTPART="mmcblk1p1"
BOOTDISK="SD card" BOOTDISK="SD card"
...@@ -23,16 +21,14 @@ fi ...@@ -23,16 +21,14 @@ fi
case "$CHOICE" in case "$CHOICE" in
dual) echo "MNT Reform 2 HDMI" > /etc/flash-kernel/machine;; dual) echo "MNT Reform 2 HDMI" > /etc/flash-kernel/machine;;
single) echo "MNT Reform 2" > /etc/flash-kernel/machine;; single) echo "MNT Reform 2" > /etc/flash-kernel/machine;;
esac *)
if [[ "$DTB" == "x" ]]
then
echo "Usage: " echo "Usage: "
echo " reform-display-config dual Select dual-display support (internal + HDMI)." echo " reform-display-config dual Select dual-display support (internal + HDMI)."
echo " reform-display-config single Select only internal display (turns off HDMI)." echo " reform-display-config single Select only internal display (turns off HDMI)."
echo " reform-display-config --emmc dual|single Record choice on eMMC." echo " reform-display-config --emmc dual|single Record choice on eMMC."
exit exit
fi ;;
esac
MOUNTED_AT=$(mount | grep $BOOTPART | grep "on /" | cut -d ' ' -s -f 3) MOUNTED_AT=$(mount | grep $BOOTPART | grep "on /" | cut -d ' ' -s -f 3)
if [[ "x$MOUNTED_AT" != "x" ]] if [[ "x$MOUNTED_AT" != "x" ]]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment