diff options
Diffstat (limited to 'src/op_mode/show_bonding_detail.sh')
-rwxr-xr-x | src/op_mode/show_bonding_detail.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/op_mode/show_bonding_detail.sh b/src/op_mode/show_bonding_detail.sh new file mode 100755 index 000000000..62265daa2 --- /dev/null +++ b/src/op_mode/show_bonding_detail.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +if [ -f "/proc/net/bonding/$1" ]; then + cat "/proc/net/bonding/$1"; +else + echo "Interface $1 does not exist!"; +fi |