summaryrefslogtreecommitdiff
path: root/package/u-boot-xtensa/files/uboot_print_env
diff options
context:
space:
mode:
Diffstat (limited to 'package/u-boot-xtensa/files/uboot_print_env')
-rwxr-xr-xpackage/u-boot-xtensa/files/uboot_print_env5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/u-boot-xtensa/files/uboot_print_env b/package/u-boot-xtensa/files/uboot_print_env
new file mode 100755
index 000000000..7231e1a47
--- /dev/null
+++ b/package/u-boot-xtensa/files/uboot_print_env
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+mount -r /dev/mmcblk0p1 /mnt
+fw_printenv "$@"
+umount /mnt