/[baselayout]/trunk/sbin/init.Linux.sh
Gentoo

Diff of /trunk/sbin/init.Linux.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 2254 Revision 2255
134 udev="yes" 134 udev="yes"
135 ;; 135 ;;
136 esac 136 esac
137 137
138 # Check udev prerequisites and kernel params 138 # Check udev prerequisites and kernel params
139 if [[ ${udev} == "yes" ]] && has_addon udev ; then 139 if [[ ${udev} == "yes" ]] ; then
140 if get_bootparam "noudev" || \ 140 if get_bootparam "noudev" || ! has_addon udev-start.sh || \
141 [[ ${devfs_automounted} == "yes" || \ 141 [[ ${devfs_automounted} == "yes" || \
142 $(get_KV) -lt "$(KV_to_int '2.6.0')" ]] ; then 142 $(get_KV) -lt "$(KV_to_int '2.6.0')" ]] ; then
143 udev="no" 143 udev="no"
144 fi 144 fi
145 fi 145 fi
146 146
147 # Check devfs prerequisites and kernel params 147 # Check devfs prerequisites and kernel params
148 if [[ ${devfs} == "yes" ]] && has_addon devfs ; then 148 if [[ ${devfs} == "yes" ]] ; then
149 if get_bootparam "nodevfs" || [[ ${udev} == "yes" \ 149 if get_bootparam "nodevfs" || ! has_addon devfs-start.sh ||
150 || ! -r /proc/filesystems ]] ; then 150 [[ ${udev} == "yes" || ! -r /proc/filesystems ]] ; then
151 devfs="no" 151 devfs="no"
152 elif [[ ! $(</proc/filesystems)$'\n' =~ '[[:space:]]devfs'$'\n' ]]; then 152 elif [[ ! $(</proc/filesystems)$'\n' =~ '[[:space:]]devfs'$'\n' ]]; then
153 devfs="no" 153 devfs="no"
154 fi 154 fi
155 fi 155 fi

Legend:
Removed from v.2254  
changed lines
  Added in v.2255

  ViewVC Help
Powered by ViewVC 1.1.20