summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks/eeepc4G
diff options
context:
space:
mode:
Diffstat (limited to 'config/chroot_local-hooks/eeepc4G')
-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