diff options
| author | Felix Endres | 2006-02-10 12:56:27 +0100 |
|---|---|---|
| committer | Felix Endres | 2006-02-10 12:56:27 +0100 |
| commit | df2e9536f00aeac555180754afcf0be40a6f7104 (patch) | |
| tree | f1ebd0a47d9fcb82407afb2eade1e65e8aed5dbf /initrd/distro-specs/ubuntu | |
| parent | tests and extensions for distributed network block device ... (diff) | |
| download | core-df2e9536f00aeac555180754afcf0be40a6f7104.tar.gz core-df2e9536f00aeac555180754afcf0be40a6f7104.tar.xz core-df2e9536f00aeac555180754afcf0be40a6f7104.zip | |
Neues Standardnetzwerkmodul
Distroerkennungsverbesserung
Udevfehlersuche
git-svn-id: http://svn.openslx.org/svn/openslx/dxs/ld4@70 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initrd/distro-specs/ubuntu')
| -rw-r--r-- | initrd/distro-specs/ubuntu/functions-5.10 | 33 |
1 files changed, 22 insertions, 11 deletions
diff --git a/initrd/distro-specs/ubuntu/functions-5.10 b/initrd/distro-specs/ubuntu/functions-5.10 index e5233bb7..a82e0111 100644 --- a/initrd/distro-specs/ubuntu/functions-5.10 +++ b/initrd/distro-specs/ubuntu/functions-5.10 @@ -15,23 +15,34 @@ preinit () { echo "dhcp:x:101:">>/etc/group echo "dhcp:x:101:101::/nonexistent:/bin/false">>/etc/passwd } - -# udev service +# AUS SuSE-9.3 +# udev/hotplug - auto device discovery service udev_hotplug () { local result=0 -echo "Starting udev" +[ -d /etc/hotplug -a -d /etc/hotplug.d ] || error " Hotplug subdirectory \ +is missing! udev(d) might not work as expected." nonfatal +echo "Enabling hotplug/udev" udevstart || result=1 -if [ -x /bin/udevd ] ; then - export UDEVD_EXPECTED_SEQNUM=$(cat /sys/kernel/hotplug_seqnum) - 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 -fi +udevd -d || result=1 return $result } +## udev service +#udev_hotplug () { +#local result=0 +#echo "Starting udev" +#udevstart || result=1 +#if [ -x /bin/udevd ] ; then +# export UDEVD_EXPECTED_SEQNUM=$(cat /sys/kernel/hotplug_seqnum) +# 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 +#fi +#return $result +#} + # linking runlevel scripts rllinker () { local script="$1" |
