summaryrefslogtreecommitdiffstats
path: root/initrd/distro-specs
diff options
context:
space:
mode:
Diffstat (limited to 'initrd/distro-specs')
-rw-r--r--initrd/distro-specs/debian/functions-3.13
-rw-r--r--initrd/distro-specs/ubuntu/functions-5.106
2 files changed, 3 insertions, 6 deletions
diff --git a/initrd/distro-specs/debian/functions-3.1 b/initrd/distro-specs/debian/functions-3.1
index 09e3aa49..1e3e1aa7 100644
--- a/initrd/distro-specs/debian/functions-3.1
+++ b/initrd/distro-specs/debian/functions-3.1
@@ -90,8 +90,7 @@ if [ "x$start_cron" = "xyes" ] ; then
\nMAILTO=\n-*/15 * * * *\troot\ttest -x /usr/lib/cron/run-crons && \
/usr/lib/cron/run-crons >/dev/null 2>&1\n" >/mnt/etc/crontab
else
- error " The cron start script seems not to be installed, so requesting \
-\n the start of cron services make no sense." nonfatal
+ error "$df_errcron" nonfatal
fi
fi
}
diff --git a/initrd/distro-specs/ubuntu/functions-5.10 b/initrd/distro-specs/ubuntu/functions-5.10
index 272b966a..86622be7 100644
--- a/initrd/distro-specs/ubuntu/functions-5.10
+++ b/initrd/distro-specs/ubuntu/functions-5.10
@@ -38,8 +38,7 @@ config_distro () {
# udev/hotplug - auto device discovery service
udev_hotplug () {
local result=0
- [ -d /etc/hotplug -a -d /etc/hotplug.d ] || error " Hotplug subdirectory \
- is missing! udev(d) might not work as expected." nonfatal
+ [ -d /etc/hotplug -a -d /etc/hotplug.d ] || error "$df_errhotpl" nonfatal
echo "Enabling hotplug/udev"
udevstart || result=1
udevd -d || result=1
@@ -56,8 +55,7 @@ udev_hotplug () {
# export UDEVD_EVENT_TIMEOUT=1
# echo "" > /proc/sys/kernel/hotplug
# udevd --daemon || result=1
-#else error " udev daemon is not available. Some devices might not \
-#apprear." nonfatal
+#else error "df_errudev" nonfatal
#fi
#return $result
#}