Package: laptop-detect Severity: wishlist Tags: patch apm also indicates a laptop. As far as I know, the module won't load and /proc/apm won't exist unless the machine has apm, and also AFAIK only laptops have apm. Thus this patch:
--- laptop-detect.sh.orig 2005-06-18 23:32:54.000000000 -0400
+++ laptop-detect.sh 2005-06-18 23:45:29.000000000 -0400
@@ -33,5 +33,11 @@
fi
fi
+# APM almost always means it's a laptop
+if [ -e /proc/apm ]; then
+# echo "We're a laptop" >&2;
+ exit 0
+fi
+
#probably not a laptop; exit
exit 1
--
see shy jo
signature.asc
Description: Digital signature

