summaryrefslogtreecommitdiff
path: root/src/completion/list_raidset.sh
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-06-13 18:12:14 +0700
committerGitHub <noreply@github.com>2018-06-13 18:12:14 +0700
commitd1d8f4b30c4aa94177a15e95d9737e0c3892c8a6 (patch)
treea4b2326648fd9c9394f3d52ec959290b4fbff4bc /src/completion/list_raidset.sh
parent832e64756cec1cfa61a818d5d09a11e198fbc43f (diff)
parentcf6be68abc1d43aa56665b2b7af91615b68ae011 (diff)
downloadvyos-1x-d1d8f4b30c4aa94177a15e95d9737e0c3892c8a6.tar.gz
vyos-1x-d1d8f4b30c4aa94177a15e95d9737e0c3892c8a6.zip
Merge pull request #14 from runborg/current
T689: Converting simple op-mode commands from vyatta-op 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 }'`