asuswrt-merlin.ng/release/src-rt-5.02axhnd/router-sysdep.rt-ax92u/bdmf_shell/scripts/rdpa_init.sh
2022-10-02 16:38:00 +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 "