[pocket-linux] some discrepancies in 6.3.4, 6.3.5?

rainer chimera at b2b2c.ca
Fri Feb 11 22:52:15 CST 2005


hello,

tried to send this problem on thursday from pine but it hasn't seemed to 
have arrived, please excuse the repeat if it does!

i was continuing with ch. 6 when i noticed a few possible discrepancies (?);

in 6.3.4 for the init.d/rc script we have,

# Execute the kill scripts first.
  for SCRIPT in $SCRIPT_DIR/K*; do
    if [ -x "$SCRIPT" ]; then
      $SCRIPT stop;
    fi;
  done;
#
# Do the Start scripts last.
  for SCRIPT in $SCRIPT_DIR/S*; do
    if [ -x $SCRIPT ]; then
      $SCRIPT start;
    fi;
  done;

inside the square brackets we have "$SCRIPT" in kill and $SCRIPT in start.
is this intentional?

in 6.3.5 in the modified local_fs script we have,


start)
  echo "Checking local filesystem integrity."
  fsck -ATCp
  if [ $(($?)) -gt $((1)) ]; then

but the original local_fs from 5.3.7 has


fsck -ATCp
if [ $? -gt 1 ]; then

my understanding is this part didn't need any modification in the updated script, 
again is this intentional?


thanks












More information about the Pocket-Linux mailing list