mirror of https://github.com/OpenIPC/firmware.git
Human readable kernel version in sysupgrade output (#489)
parent
795f3a20db
commit
112de39ea0
|
@ -175,7 +175,7 @@ get_device() {
|
||||||
}
|
}
|
||||||
|
|
||||||
get_kernel_version() {
|
get_kernel_version() {
|
||||||
echo -n "0x$(xxd -l 4 -s 8 -p "$1" | xargs)"
|
date "+%H:%M:%S %Y-%m-%d" @$((0x$(xxd -l 4 -s 8 -p "$1" | xargs)))
|
||||||
}
|
}
|
||||||
|
|
||||||
get_system_info() {
|
get_system_info() {
|
||||||
|
|
Loading…
Reference in New Issue