]> git.pld-linux.org Git - packages/systemd.git/commitdiff
- 2.6.12 requirement is not mandatory
authorfreetz <freetz@pld-linux.org>
Fri, 21 Oct 2005 09:04:24 +0000 (09:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    start_udev -> 1.19

start_udev

index 70a845937bdd5c10deff9a1306acacd918939142..eb738d5787e280464091b9f7e6f53bc922ac2859 100644 (file)
@@ -155,8 +155,7 @@ ide_scan() {
 
 supported_kernel() {
     case "$(uname -r)" in
-    2.[012345].*|2.6.[0-9]|2.6.[0-9][!0-9]*) return 1 ;;
-    2.6.1[01]|2.6.1[01][!0-9]*) return 1 ;;
+    2.[012345].*) return 1 ;;
     esac
     return 0
 }
@@ -169,12 +168,11 @@ export ACTION=add
 prog=udev
 ret=0
 nls "Starting udev"
-                                                                                        
-if ! supported_kernel; then                                                              
-    echo "udev requires a kernel >= 2.6.12, not started."                                
-    exit 0                                                                               
-fi
 
+if ! supported_kernel; then
+    echo "udev requires a kernel >= 2.6.x, not started."
+    exit 0                                                
+fi
 
 # mount the tmpfs on ${udev_root%/}, if not already done
 LANG=C awk "\$2 == \"${udev_root%/}\" && \$3 == \"tmpfs\" { exit 1 }" /proc/mounts && {
This page took 0.218348 seconds and 4 git commands to generate.