diff options
author | maximilian attems <maks@debian.org> | 2006-12-02 18:51:54 +0100 |
---|---|---|
committer | maximilian attems <maks@debian.org> | 2006-12-02 18:51:54 +0100 |
commit | 78fe68bcad9d0850e6b9877903719cab7c73b475 (patch) | |
tree | 93ef2389992accc2aafc85af9a43809b79fef58c /scripts | |
parent | 3c1412b1312c4b12d953aa8413d928bc8c9ad031 (diff) | |
download | initramfs-tools-78fe68bcad9d0850e6b9877903719cab7c73b475.tar.gz initramfs-tools-78fe68bcad9d0850e6b9877903719cab7c73b475.zip |
- allow to disable backup
- new bzr location
- functional copy_dir_modules()
- modprobe a bunch of ppc windfarm modules in thermal
- provide output on error
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/init-premount/thermal | 9 | ||||
-rwxr-xr-x | scripts/init-top/framebuffer | 10 |
2 files changed, 14 insertions, 5 deletions
diff --git a/scripts/init-premount/thermal b/scripts/init-premount/thermal index 3518e7c..bfea1fc 100755 --- a/scripts/init-premount/thermal +++ b/scripts/init-premount/thermal @@ -20,6 +20,15 @@ case "$DPKG_ARCH" in powerpc|ppc64) modprobe -q i2c-powermac modprobe -q therm_pm72 + modprobe -q windfarm_cpufreq_clamp + modprobe -q windfarm_lm75_sensor + modprobe -q windfarm_max6690_sensor + modprobe -q windfarm_pm112 + modprobe -q windfarm_pm81 + modprobe -q windfarm_pm91 + modprobe -q windfarm_smu_controls + modprobe -q windfarm_smu_sat + modprobe -q windfarm_smu_sensors ;; i386|amd64|ia64) modprobe -q fan diff --git a/scripts/init-top/framebuffer b/scripts/init-top/framebuffer index 1d5e375..044b247 100755 --- a/scripts/init-top/framebuffer +++ b/scripts/init-top/framebuffer @@ -76,6 +76,11 @@ for x in $(cat /proc/cmdline); do esac done +if [ -n "$FB" ]; then + modprobe -q fbcon + modprobe -q $FB $OPTS +fi + if [ -e /proc/fb ]; then while read fbno desc; do mknod /dev/fb$fbno c 29 $fbno @@ -86,8 +91,3 @@ fi for i in 0 1 2 3 4 5 6 7 8; do mknod /dev/tty$i c 4 $i done - -if [ -n "$FB" ]; then - modprobe -q fbcon - modprobe -q $FB $OPTS -fi |