Commit 4b773050 authored by Adam Wujek's avatar Adam Wujek 💬

rootfs: improve wrs_auxclk init script's output

Now print:
"Configuring external clock clk2: OK|Failed"
Signed-off-by: Adam Wujek's avatarAdam Wujek <>
parent e0a757fe
......@@ -34,10 +34,10 @@ if [ ! -z "$CONFIG_WRSAUXCLK_PPSHIFT" ]; then
# execute wrs_auxclk
echo "Configuring external clock clk2"
echo -n "Configuring external clock clk2: "
/wr/bin/wrs_auxclk $p_freq $p_duty $p_cshift $p_sigdel $p_ppshift > /dev/null 2>&1
if [ $? == 0 ]; then
echo "External clock clk2 OK"
echo "OK"
echo "Failed to configure external clock clk2!!!"
echo "Failed"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment