diff options
author | Dirk von Suchodoletz | 2007-05-11 02:05:30 +0200 |
---|---|---|
committer | Dirk von Suchodoletz | 2007-05-11 02:05:30 +0200 |
commit | 70c5fbfc5794976c00116f572a6a683cfff0b476 (patch) | |
tree | 6cef07ce6a77c837583e0bbae2f5628d773e5815 /initramfs/distro-specs/debian/functions-default | |
parent | Removed udev stuff (from main scripts and suse specific) ... (diff) | |
download | core-70c5fbfc5794976c00116f572a6a683cfff0b476.tar.gz core-70c5fbfc5794976c00116f572a6a683cfff0b476.tar.xz core-70c5fbfc5794976c00116f572a6a683cfff0b476.zip |
More cleanup, small fix for hwautocfg ...
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1042 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/distro-specs/debian/functions-default')
-rw-r--r-- | initramfs/distro-specs/debian/functions-default | 31 |
1 files changed, 8 insertions, 23 deletions
diff --git a/initramfs/distro-specs/debian/functions-default b/initramfs/distro-specs/debian/functions-default index b5d93376..9dac0e9c 100644 --- a/initramfs/distro-specs/debian/functions-default +++ b/initramfs/distro-specs/debian/functions-default @@ -1,13 +1,14 @@ -# configuration script for general Debian to configure linux diskless clients -# (executed within initialramfs after genconfig) +#!/bin/bash +# This program is free software distributed under the GPL version 2. +# See http://openslx.org/COPYING # -# this file is distributed under the GPLv2, see ~/openslx/COPYING +# If you have any feedback please consult http://openslx.org/feedback and +# send your feedback to feedback@openslx.org # -# Dirk von Suchodoletz <dvs@OpenSLX.com>, 22-12-2006 -# Felix Endres, 30-04-2006 +# General information about OpenSLX can be found at http://openslx.org # -# (c) 2006 - RZ Universitaet Freiburg -# (c) 2006 - OpenSLX GmbH +# Configuration script for general Debian to configure linux diskless clients +# (executed within initialramfs after genconfig) # empty functions are defined at the beginning of /etc/functions @@ -28,22 +29,6 @@ config_distro () { sed -e "s/.*initdefault/id:${D_INITDEFAULT}:initdefault/" -i /mnt/etc/inittab } -# udev/hotplug - auto device discovery service (deprecated, check and remove) -# Result: 1 is bad, 0 is good -udev_hotplug () { - local result=0 - [ -d /etc/hotplug -a -d /etc/hotplug.d ] || error "$df_errhotpl" nonfatal - echo "Enabling hotplug/udev" - #udevstart && result=0 - #udevtrigger && result=0 - udevd --daemon || result=1 - [ ! -e /sbin/udevsend ] && result=1 - echo "/sbin/udevsend/" > /proc/sys/kernel/hotplug - mkdir -p /dev/.udev/db /dev/.udev/queue - trigger_device_events - return $result -} - # distro specific general function called from servconfig script config_distro () { # add the halt link to the 0 and 6 runlevel directories |