diff options
author | Jaka Kranjc | 2007-01-26 22:02:13 +0100 |
---|---|---|
committer | Jaka Kranjc | 2007-01-26 22:02:13 +0100 |
commit | 0ea40f42955656ac1f67082669395459898c5182 (patch) | |
tree | 795ed26f092810d0aaf79c93541fc10e0463f176 | |
parent | 558794a571279632860290f635a42082e668e74c (diff) |
Revert "init.d: Check which udev version should be used"
This reverts commit 1a6f74b75cc8755eaafb369ab5d17629aa9cf52f.
Conflicts:
smgl/init.d/DETAILS
smgl/init.d/HISTORY
-rwxr-xr-x | smgl/init.d/DEPENDS | 15 | ||||
-rw-r--r-- | smgl/init.d/HISTORY | 5 |
2 files changed, 1 insertions, 19 deletions
diff --git a/smgl/init.d/DEPENDS b/smgl/init.d/DEPENDS index c51feb48ec..fd2a070877 100755 --- a/smgl/init.d/DEPENDS +++ b/smgl/init.d/DEPENDS @@ -3,18 +3,5 @@ if [ "$DEVICES" == "devfs" ]; then optional_depends devfsd "" "" \ "to make devfs more functional and compatible with the old static /dev" elif [ "$DEVICES" == "udev" ]; then - KERNEL_VERSION=$(get_kernel_version) && - PATCHLEVEL=`echo $KERNEL_VERSION | cut -d. -f2` && - SUBLEVEL=`echo $KERNEL_VERSION | cut -d. -f3` && - tmp=`echo $KERNEL_VERSION | cut -d. -f3 | sed 's/^[0-9]*//g'` && - SUBLEVEL=${SUBLEVEL/$tmp/} && - - # kernel < 2.6.15-rc1 can't use udev > 0.93 tarballs because udevsend has been removed - if [ $SUBLEVEL -ge 15 -a $PATCHLEVEL -ge 6 ]; then - depends udev - else - message "You have a kernel < 2.6.15, it is too old for latest udev." && - message "We will use udev-old spell instead..." && - depends udev-old - fi + depends udev fi diff --git a/smgl/init.d/HISTORY b/smgl/init.d/HISTORY index c9198816bb..39f0a63342 100644 --- a/smgl/init.d/HISTORY +++ b/smgl/init.d/HISTORY @@ -22,11 +22,6 @@ 2006-10-26 Jaka Kranjc <lynxlynxlynx@sourcemage.org> * INSTALL: use TRACK_ROOT when linking #9163 -2006-09-23 Flavien Bridault <vlaaad@sourcemage.org> - * DEPENDS: Check which udev spell we should cast according to the - kernel version - * DETAILS: PATCHLEVEL++ - 2006-09-21 Juuso Alasuutari <iuso@sourcemage.org> * DETAILS: [automated] Removed BUILD_API=2. |