summaryrefslogtreecommitdiff
path: root/templates/show/disk
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-06-13 13:01:53 +0200
committerDaniil Baturin <daniil@baturin.org>2018-06-13 13:07:29 +0200
commitfb4165b9265a9d09bf83b43e79bd698cfe9b559f (patch)
treebff600cd01ebc34730715e26f42ea659afb5801f /templates/show/disk
parentb9c3925b1f68534b51f4d2f2b239ae7cdd2ef030 (diff)
downloadvyatta-op-fb4165b9265a9d09bf83b43e79bd698cfe9b559f.tar.gz
vyatta-op-fb4165b9265a9d09bf83b43e79bd698cfe9b559f.zip
T689: remove files no longer needed after merging PR#14 into vyos-1x.
Diffstat (limited to 'templates/show/disk')
-rw-r--r--templates/show/disk/node.def1
-rw-r--r--templates/show/disk/node.tag/format/node.def7
-rw-r--r--templates/show/disk/node.tag/node.def4
3 files changed, 0 insertions, 12 deletions
diff --git a/templates/show/disk/node.def b/templates/show/disk/node.def
deleted file mode 100644
index 8572a9f..0000000
--- a/templates/show/disk/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Show status of disk device
diff --git a/templates/show/disk/node.tag/format/node.def b/templates/show/disk/node.tag/format/node.def
deleted file mode 100644
index ad87cfc..0000000
--- a/templates/show/disk/node.tag/format/node.def
+++ /dev/null
@@ -1,7 +0,0 @@
-help: Show disk drive formatting
-run: disk_dev="/dev/$3"
- if [ ! -b "$disk_dev" ]
- then echo "$3 is not a disk device"
- exit 1
- fi
- sudo /sbin/fdisk -l "$disk_dev"
diff --git a/templates/show/disk/node.tag/node.def b/templates/show/disk/node.tag/node.def
deleted file mode 100644
index 8690008..0000000
--- a/templates/show/disk/node.tag/node.def
+++ /dev/null
@@ -1,4 +0,0 @@
-help: Disk device name
-allowed: awk 'NR > 2 && $4 !~ /[0-9]$/ { print $4 }' </proc/partitions
-
-