summaryrefslogtreecommitdiff
path: root/package/u-boot-git/files/uboot_print_env
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2015-04-27 20:54:43 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-04-27 20:54:43 +0200
commit58549cb7a62a895b87d44efe98d8ce2e624b5d6f (patch)
treee68571e0501ef5da89dbe1089ad9f3eef470ac06 /package/u-boot-git/files/uboot_print_env
parent5ffc823114c78a9470a2ad17b2985575ecd362ec (diff)
parentce815fbe043c69f7ab8c51a3fa93c14445d7e1fc (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/u-boot-git/files/uboot_print_env')
-rwxr-xr-xpackage/u-boot-git/files/uboot_print_env5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/u-boot-git/files/uboot_print_env b/package/u-boot-git/files/uboot_print_env
new file mode 100755
index 000000000..7231e1a47
--- /dev/null
+++ b/package/u-boot-git/files/uboot_print_env
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+mount -r /dev/mmcblk0p1 /mnt
+fw_printenv "$@"
+umount /mnt