diff options
author | Victor Lowther <victor.lowther@gmail.com> | 2010-06-05 13:52:24 -0500 |
---|---|---|
committer | Victor Lowther <victor.lowther@gmail.com> | 2010-06-05 13:52:24 -0500 |
commit | 12a931d4db8258049c5d619bb99f4f58ef600de1 (patch) | |
tree | 6d79f54fd0de9f8a2153b82e47ad42de283ae10a | |
parent | 58a67a9cbb8637c8cfe4ea06d5d956af0704f498 (diff) |
There are no actual users of chassis_type anymore, get rid of it.
-rw-r--r-- | pm/pm-functions.in | 6 |
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() |