summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks
diff options
context:
space:
mode:
authorHolger Paradies <retabell@gmx.de>2018-05-12 12:41:57 +0200
committerHolger Paradies <retabell@gmx.de>2018-05-12 16:32:21 +0200
commitc4479afa17b68da699e4a9158e351083527a801a (patch)
tree9ec39743cc0fcfe4399e14e90849fed26d214c21 /config/chroot_local-hooks
parent503ea22203150106cbd350aeb0794e848824ab81 (diff)
downloadkanotix-c4479afa17b68da699e4a9158e351083527a801a.zip
kanotix-c4479afa17b68da699e4a9158e351083527a801a.tar.gz
enable 900mhz for eeepc4G
Diffstat (limited to 'config/chroot_local-hooks')
-rwxr-xr-xconfig/chroot_local-hooks/eeepc4G10
1 files changed, 10 insertions, 0 deletions
diff --git a/config/chroot_local-hooks/eeepc4G b/config/chroot_local-hooks/eeepc4G
new file mode 100755
index 0000000..a850539
--- /dev/null
+++ b/config/chroot_local-hooks/eeepc4G
@@ -0,0 +1,10 @@
+#!/bin/bash
+for file in /root/config/*; do [ -r $file ] && . $file; done
+echo "$LB_PACKAGE_LISTS" | grep -qw eeepc4G || exit 0
+
+echo "D: $LB_PACKAGE_LISTS"
+echo "D: $LB_PACKAGES_LISTS"
+
+echo "# enable 900Mhz clock" >/etc/modules-load.d/eepc4G.conf
+echo "p4-clockmod" >>/etc/modules-load.d/eepc4G.conf
+exit 0