summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2022-11-09 13:44:22 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2022-11-09 13:45:04 +0100
commit5d1df928fef2848dc0b2233cf3b2c6068a8e15fb (patch)
tree74a7a4c24dc47f97a0d9c53bef72d2296f93bce5
parent5d27483297afadf97aeeb671a28b079980441077 (diff)
downloadalpine-conf-5d1df928fef2848dc0b2233cf3b2c6068a8e15fb.zip
setup-disk: remove unused is_vmware function
not used since commit 427a14cb8d80 (setup-disk: remove grsec traces)
-rw-r--r--setup-disk.in5
1 files changed, 0 insertions, 5 deletions
diff --git a/setup-disk.in b/setup-disk.in
index 811f751..54e138b 100644
--- a/setup-disk.in
+++ b/setup-disk.in
@@ -105,11 +105,6 @@ crypt_required() {
return 1
}
-is_vmware() {
- grep -q VMware /proc/scsi/scsi 2>/dev/null \
- || grep -q VMware /proc/ide/hd*/model 2>/dev/null
-}
-
# return true (0) if given device is lvm
is_lvm() {
lvs "$1" >/dev/null 2>&1