Changeset View
Changeset View
Standalone View
Standalone View
libexec/rc/rc.d/linux
| Show First 20 Lines • Show All 75 Lines • ▼ Show 20 Lines | if checkyesno linux_mounts_enable; then | ||||
| linux_mount linsysfs "${_emul_path}/sys" -o nocover | linux_mount linsysfs "${_emul_path}/sys" -o nocover | ||||
| linux_mount devfs "${_emul_path}/dev" -o nocover | linux_mount devfs "${_emul_path}/dev" -o nocover | ||||
| linux_mount fdescfs "${_emul_path}/dev/fd" -o nocover,linrdlnk | linux_mount fdescfs "${_emul_path}/dev/fd" -o nocover,linrdlnk | ||||
| linux_mount tmpfs "${_emul_path}/dev/shm" -o nocover,mode=1777 | linux_mount tmpfs "${_emul_path}/dev/shm" -o nocover,mode=1777 | ||||
| fi | fi | ||||
| } | } | ||||
| load_rc_config $name | load_rc_config $name | ||||
| # doesn't make sense to run in a svcj: kernel modules and FS-mounting | |||||
| linux_svcj="NO" | |||||
| run_rc_command "$1" | run_rc_command "$1" | ||||