diff options
author | ccsmart <ccsmart@smartpal.de> | 2005-08-27 16:42:51 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-08-27 16:42:51 +0000 |
commit | 07b88285d5d588e4fd86a23f77528ac323b43e16 (patch) | |
tree | 31e1c8b9ae67d23682d01883e12270dc2c18bd8c | |
parent | 74aa329f71e25ede9a5b222c952cd8d6cffca1ac (diff) |
Based on OE bug #244, thanks to Pfudd.
-rwxr-xr-x | packages/sysvinit/sysvinit/rcS | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/sysvinit/sysvinit/rcS b/packages/sysvinit/sysvinit/rcS index 9903d33190..e7a7e617d0 100755 --- a/packages/sysvinit/sysvinit/rcS +++ b/packages/sysvinit/sysvinit/rcS @@ -12,6 +12,10 @@ prevlevel=N umask 022 export PATH runlevel prevlevel +# Make sure proc is mounted +# +[ -d "/proc/1" ] || mount /proc + # # See if system needs to be setup. This is ONLY meant to # be used for the initial setup after a fresh installation! @@ -36,7 +40,6 @@ trap ":" INT QUIT TSTP # If so, calculate the number of scripts and the incremental step # if [ "$VERBOSE" = no ]; then - mount /proc if [ -e /proc/progress ]; then set `ls -1 /etc/rc$runlevel.d/S* | wc` numscripts=$1 |