Browse Source

Clifford Wolf:

fixed mounting /sys in system.init: The old code triggered an error message
on 2.4 kernels because the grep to check if sysfs is there fails ...


git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@2194 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Clifford Wolf 21 years ago
parent
commit
c7490d483e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      package/base/sysfiles/system.init

+ 1
- 1
package/base/sysfiles/system.init

@ -30,7 +30,7 @@ main_begin
block_begin(start, `Mounting /dev, /proc, /sys and /dev/shm.')
check(`[ -e /dev/.devfsd ] || mount -n /dev')
check(`mount -n /proc')
check(`grep -q sysfs /proc/filesystems && mount -n /sys')
mount -n /sys 2> /dev/null
check(`mount -n /dev/shm')
mount -n /dev/pts 2> /dev/null
dnl

Loading…
Cancel
Save