summaryrefslogtreecommitdiff
path: root/src/completion/list_raidset.sh
diff options
context:
space:
mode:
authorRunar Borge <runar@borge.nu>2018-06-07 23:54:20 +0200
committerRunar Borge <runar@borge.nu>2018-06-07 23:54:20 +0200
commit327e8d203635d435d75b57f30df6695b56ff63ee (patch)
tree30767e3bd0c99a7bb384e219f050fd05e7588d87 /src/completion/list_raidset.sh
parent55110c80f480ba7081af16b43447b92ad295e488 (diff)
downloadvyos-1x-327e8d203635d435d75b57f30df6695b56ff63ee.tar.gz
vyos-1x-327e8d203635d435d75b57f30df6695b56ff63ee.zip
T689: Convert show raid to new syntax
Diffstat (limited to 'src/completion/list_raidset.sh')
-rwxr-xr-xsrc/completion/list_raidset.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/completion/list_raidset.sh b/src/completion/list_raidset.sh
new file mode 100755
index 000000000..9ff3523aa
--- /dev/null
+++ b/src/completion/list_raidset.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+echo -n `cat /proc/partitions | grep md | awk '{ print $4 }'`