7495be948b
* modem-related modules seem partly responsible for recent l3 firewall timeouts and kernel crashes. * rx51-battery can be used to get battery design capacity, but not required for general running of the system blacklist other * modules that can impact power consumption on the N900 Completely disabling the modules in kernel config is unnecessary, since they are all useful for some users [ci:skip-build]: already built successfully in CI
17 lines
462 B
Bash
17 lines
462 B
Bash
#!/bin/sh
|
|
|
|
# Generate symlinks for acpid events, based on definitions in /etc/acpi.map
|
|
for i in $(awk '{if($NF && ($1 !~ /^#/)) print $NF}' /etc/acpi.map); do
|
|
ln -s /etc/acpi/handler.sh /etc/acpi/$i
|
|
done
|
|
|
|
# Enable acpid
|
|
rc-update add acpid default
|
|
# hwdrivers is required for acpid to 'see' all devices
|
|
rc-update add hwdrivers boot
|
|
# Enable ofono
|
|
rc-update add ofono default
|
|
# Disable swclock because rtc is working
|
|
rc-update -q del swclock boot
|
|
|
|
exit 0
|