blob: d9c0ace460b96071843377e6e16cd3ffb1cea956 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/bash
#
# config: 2 50
# @brief: Print variables from Alt flash U-Boot environment.
#
. $DREPORT_INCLUDE/functions
desc="Alt-Flash: U-Boot environment variables"
env_config="/etc/alt_fw_env.config"
if [ ! -f $env_config ]; then
log_error "$env_config does not exist"
exit
fi
file_name="alt-fw-printenv.log"
command="fw_printenv -c $env_config"
add_cmd_output "$command" "$file_name" "$desc"
|