summaryrefslogtreecommitdiff
path: root/pm/pm-functions.in
diff options
context:
space:
mode:
Diffstat (limited to 'pm/pm-functions.in')
-rw-r--r--pm/pm-functions.in6
1 files changed, 0 insertions, 6 deletions
diff --git a/pm/pm-functions.in b/pm/pm-functions.in
index 71dac93..9a25b10 100644
--- a/pm/pm-functions.in
+++ b/pm/pm-functions.in
@@ -85,12 +85,6 @@ done
. "${PM_FUNCTIONS}"
-if [ "$(id -u)" = "0" ] && command_exists dmidecode; then
- export CHASSIS_TYPE="$(dmidecode -s chassis-type)"
-else
- export CHASSIS_TYPE=Unknown
-fi
-
# Simple little logging function.
# We do it this way because 'echo -n' is not posix.
log()