+++ /dev/null
-description "load modules from /etc/modules"
-start on started hildon-desktop
-console none
-script
- grep '^[^#]' /etc/modules |
- while read module args
- do
- [ "$module" ] || continue
- modprobe $module $args || :
- done
- if test -f /etc/kernel-power/.notloaded; then
- run-standalone.sh dbus-send --type=method_call --dest=org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications.SystemNoteDialog \
- string:"Warning: A unexpected reboot occured. Your custom kernel settings were NOT loaded." uint32:0 string:OK
- fi
-end script