Mainpage
Searchform
History
Versions
Categories
Contents
Deutsch
init
,
particularly while booting, the following error message appears:
/sbin/init.d/rc: test: /sbin/init.d/rc2.d/S07i4l_route: binary operator expectedAfterwards all boot scripts are not properly executed, at worst the process can even freeze.
This can only happen when the package i4l
is installed
, or links to the rc paths are manually created.
/sbin/init.d/rc
, when two links refer to the same init script.
/sbin/init.d/rc2.d/S07i4l_route
and
/sbin/init.d/rc3.d/S07i4l_route
/sbin/init.d/rc
works
reliably. Caution: do not make any error when typing it, without
this script the computer does not boot correctly anymore!
#! /bin/sh # Copyright (c) 1996 S.u.S.E. GmbH Fuerth, Germany. All rights reserved. # # Author: Florian La Roche, 1996 # Werner Fink , 1996 # # /sbin/init.d/rc # # This file is responsible for starting/stopping services # when the runlevel changes. If the action for a particular # feature in the new run-level is the same as the action in # the previous run-level, this script will neither start nor # stop that feature. # . /etc/rc.config # set onlcr to avoid staircase effect stty onlcr 0>&1 trap "" 0 1 15 echo "$0: Previous runlevel: $PREVLEVEL, current runlevel: $RUNLEVEL." curdir=/sbin/init.d/rc$RUNLEVEL.d prevdir=/sbin/init.d/rc$PREVLEVEL.d if test "$PREVLEVEL" != N; then # # run the KILL scripts of the previous runlevel # for i in $prevdir/K*; do test -x "$i" || continue # don't run the kill script, if the new runlevel has a start script start=${i##*/K[0-9][0-9]} test -f $curdir/S[0-9][0-9]$start && continue $i stop done fi # # run the START scripts of the current (new) runlevel # for i in $curdir/S*; do test -x "$i" || continue # don't run start script, if previous runlevel had a kill script if test "$PREVLEVEL" != N; then start=${i##*/S[0-9][0-9]} test -f $prevdir/K[0-9][0-9]$start && continue fi $i start done exit 0
Keywords: ISDN, ROUTE, RC, TEST, BINARY OPERATOR EXPECTED, RUNLEVEL, INIT
Feedback welcome: Send Mail to kfr@suse.de (Please give the following subject: SDB-rc
)
Mainpage
Searchform
History
Versions
Categories
Contents
Deutsch