diff options
author | Dirk von Suchodoletz | 2007-05-11 01:00:29 +0200 |
---|---|---|
committer | Dirk von Suchodoletz | 2007-05-11 01:00:29 +0200 |
commit | 2a896ef06c5fdefad689bf81b2588b3a26537cc0 (patch) | |
tree | 827ab4a0e40ee79f33edef2c7552e16a2cf2a819 /initramfs/initrd-stuff/etc/functions | |
parent | Switched to much more flexible disk formatting for /tmp (starting with (diff) | |
download | core-2a896ef06c5fdefad689bf81b2588b3a26537cc0.tar.gz core-2a896ef06c5fdefad689bf81b2588b3a26537cc0.tar.xz core-2a896ef06c5fdefad689bf81b2588b3a26537cc0.zip |
Removed udev stuff (from main scripts and suse specific) ...
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1041 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/initrd-stuff/etc/functions')
-rw-r--r-- | initramfs/initrd-stuff/etc/functions | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/initramfs/initrd-stuff/etc/functions b/initramfs/initrd-stuff/etc/functions index 39920e5d..58bb9b0e 100644 --- a/initramfs/initrd-stuff/etc/functions +++ b/initramfs/initrd-stuff/etc/functions @@ -29,50 +29,6 @@ postinit () { config_distro () { : } -# udev/hotplug - auto device discovery service (deprecated) -udev_hotplug () { -: -} - -############################################################################# -# generate events with the sysfs trigger (most probably obsolete) -trigger_device_events () { - local list=$(echo /sys/bus/*/devices/*/uevent) - list="$list $(echo /sys/class/*/*/uevent)" - list="$list $(echo /sys/block/*/uevent /sys/block/*/*/uevent)" - for i in $list; do - case "$i" in - */device/uevent|*\**) - continue - ;; - */class/mem/*|*/class/tty/*) - first="$first $i" - ;; - */block/md*) - last="$last $i" - ;; - */*) - default="$default $i" - ;; - esac - done - # trigger the sorted events - for i in $first $default $last; do - echo "add" > "$i" - done -} - -############################################################################# -# mini udev of busybox (most probably obsolete: or distro specific -# udev_hotplug) -runudev () { -if [ -x /bin/mdev ] ; then - mdev -s -else - udev_hotplug -fi -echo "Started udev" -} ############################################################################# # produce error message and if $2 is empty run (debug) shell |