asuswrt-merlin.ng/release/src-rt-5.02axhnd.675x/router-sysdep.dsl-ax82u/bdmf_shell/scripts/rdpa_init.sh
Antonio Aloisio 7f7aac5706 SDKs cleanup
2021-05-18 07:51:45 +02:00

8 lines
262 B
Bash

#!/bin/bash
# We need to down eth0 prior to starting runner's data path init
ifconfig eth0 down &> /dev/null
# Initialize bdmf shell
bdmf_shell -c init | while read a b ; do echo $b ; done > /var/bdmf_sh_id
alias bs="bdmf_shell -c `cat /var/bdmf_sh_id` -cmd "