summaryrefslogtreecommitdiffstats
path: root/initramfs
diff options
context:
space:
mode:
authorDirk von Suchodoletz2010-03-08 18:54:59 +0100
committerDirk von Suchodoletz2010-03-08 18:54:59 +0100
commit9be6c7a48efa7e9a9387e36c5b0b99d8f414f820 (patch)
tree4cbf4dfc7f5a9d084c7fa15f3c85e7e6f93ecbe5 /initramfs
parentMoving test for inittab/event.d into distro specific functions (removed (diff)
downloadcore-9be6c7a48efa7e9a9387e36c5b0b99d8f414f820.tar.gz
core-9be6c7a48efa7e9a9387e36c5b0b99d8f414f820.tar.xz
core-9be6c7a48efa7e9a9387e36c5b0b99d8f414f820.zip
Next steps towards Ubuntu 10.04 integration ... (completely different
runlevel mechanism, thus rllinker etc. still missing)
Diffstat (limited to 'initramfs')
-rw-r--r--initramfs/distro-specs/ubuntu/functions-10.0413
1 files changed, 7 insertions, 6 deletions
diff --git a/initramfs/distro-specs/ubuntu/functions-10.04 b/initramfs/distro-specs/ubuntu/functions-10.04
index 7156c485..1a7c1b79 100644
--- a/initramfs/distro-specs/ubuntu/functions-10.04
+++ b/initramfs/distro-specs/ubuntu/functions-10.04
@@ -69,7 +69,7 @@ if [ -f /mnt/etc/init.d/ntp -a "x$start_ntp" != "xno" ] ; then
echo -e "ntp:x:74:65534:NTP daemon:/var/lib/ntp:/bin/false" \
>>/mnt/etc/passwd
testmkd /mnt/var/lib/ntp/var/run/ntp
- rllinker "ntp" 7 14
+ :
fi
}
# function for atd
@@ -78,14 +78,14 @@ if [ "x$start_atd" = "xyes" ]; then
# testmkd /mnt/var/spool/atjobs
# testmkd /mnt/var/spool/atspool
# chown 1:1 /mnt/var/spool/atjobs /mnt/var/spool/atspool
- rllinker "atd" 14 4
+ :
fi
}
# function for configuration of cron services (fixme: to be moved to a plugin?)
config_cron () {
if [ "x$start_cron" = "xyes" ] ; then
if [ -f /mnt/etc/init.d/cron ] ; then
- rllinker "cron" 18 2
+ :
# fixme! check for proper permissions!
testmkd /mnt/var/spool/crontabs
echo -e "# /etc/crontab - file generated by $0:\n\
@@ -143,13 +143,13 @@ if [ "x$start_dreshal" = "xyes" ]; then
-e "s/@@return@@/ <return result=\"yes\"\/>/"
sed -i /mnt/etc/dbus-1/system.d/hal.conf \
-e "s/^\([^d]*\)deny\(.*Volume.*\)/\1allow\2/"
- rllinker "dbus" 2 20
- rllinker "hal" 3 18
+ :
+ :
if [ ! -e /mnt/etc/init.d/policykit ] ; then
testmkd /mnt/var/lib/PolicyKit root:polkituser 1770
testmkd /mnt/var/lib/PolicyKit-public root:polkituser
else
- rllinker "policykit" 18 10
+ :
fi
fi
}
@@ -161,6 +161,7 @@ d_mkrlscript () {
local switch="$1"
local name="$2"
local info="$3"
+# ToDo: needs to be adapted to upstart mechanism
case "$switch" in
init)
echo -e "#!/bin/sh\n# skeleton of /etc/init.d/$name written \