summaryrefslogtreecommitdiffstats
path: root/smgl/init.d/DEPENDS
diff options
context:
space:
mode:
Diffstat (limited to 'smgl/init.d/DEPENDS')
-rwxr-xr-xsmgl/init.d/DEPENDS29
1 files changed, 2 insertions, 27 deletions
diff --git a/smgl/init.d/DEPENDS b/smgl/init.d/DEPENDS
index e529f4d614..712afdb063 100755
--- a/smgl/init.d/DEPENDS
+++ b/smgl/init.d/DEPENDS
@@ -1,29 +1,4 @@
-depends simpleinit-msb &&
-
-if [[ $DEVICES == devfs ]]
+if [[ $DEVICES == udev ]]
then
- optional_depends devfsd \
- "" \
- "" \
- "to make devfs more functional and compatible with \
-the old static /dev"
-elif [[ $DEVICES == udev ]]
-then
- local KVER=$(get_kernel_version) &&
- local VER1=${KVER/.*} &&
- local VER2=$(echo $KVER | cut -d. -f2) &&
- local VER3=$(echo $KVER | cut -d. -f3) &&
- VER3=${VER3%%[^0-9]*} &&
-
- if (( VER1 > 2 )) ||
- (( VER2 > 6 )) ||
- (( VER2 == 6 && VER3 > 14 )) ||
- spell_ok eudev
- then
- depends DEVICE-MANAGER
- else
- message "You have a kernel < 2.6.15, it is too old for" \
- "latest udev.\nUsing udev-old spell instead." &&
- depends udev-old
- fi
+ depends eudev
fi