Skip to content
Snippets Groups Projects
Commit af48fdce authored by Bob Mottram's avatar Bob Mottram
Browse files

Tidying!

parent e0b4c9d5
No related branches found
No related tags found
No related merge requests found
......@@ -60,10 +60,11 @@ function a20_env {
dtb="$1"
# Setup boot.cmd
if grep -q btrfs /etc/fstab ; then
fstype=ext4
if grep -q btrfs /etc/fstab; then
fstype=btrfs
else
fstype=ext4
fi
if [ -n "$command_line" ] ; then
echo flash-kernel flash-kernel/linux_cmdline string "$command_line" | debconf-set-selections
fi
......@@ -119,10 +120,9 @@ function beaglebone_env {
bbb_version=$1
# Setup uEnv.txt
fstype=ext4
if grep -q btrfs /etc/fstab ; then
fstype=btrfs
else
fstype=ext4
fi
if [ ! $bbb_version ]; then
kernelVersion=$(ls /usr/lib/*/am335x-boneblack.dtb | head -1 | cut -d/ -f4)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment