1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00
openmptcprouter-feeds/qaa/qca-platform-utils/clk-debug/files/clk-dump.sh
2022-09-10 05:47:47 +08:00

22 lines
528 B
Bash

: '
/*
* Copyright (c) 2017, 2019 Qualcomm Technologies, Inc.
*
* All Rights Reserved.
* Confidential and Proprietary - Qualcomm Technologies, Inc.
*/
'
device=$( cat /tmp/sysinfo/model )
if echo "$device" | grep -q "IPQ807";
then
/usr/sbin/clk-debug-ipq807x.sh "$@"
elif echo "$device" | grep -q "IPQ60";
then
/usr/sbin/clk-debug-ipq6018.sh "$@"
elif echo "$device" | grep -q "IPQ50";
then
/usr/sbin/clk-debug-ipq5018.sh "$@"
else
echo "Unrecognized Device...\nDevices Supported: ipq807x, ipq6018, ipq5018"
fi