Browse Source

do not use grep to test if sysroot is mounted

master
Victor Lowther 16 years ago committed by Harald Hoyer
parent
commit
37dcb40001
  1. 2
      modules.d/99base/init

2
modules.d/99base/init

@ -107,7 +107,7 @@ getarg 'break=mount' && emergency_shell @@ -107,7 +107,7 @@ getarg 'break=mount' && emergency_shell
# be sourced any number of times. As soon as one suceeds, no more are sourced.
i=0
while :; do
grep -q '/sysroot' /proc/mounts && break;
[ -d "$NEWROOT/proc" ] && break;

for f in /mount/*.sh; do
[ -x "$f" ] && . "$f";

Loading…
Cancel
Save