Lines Matching refs:j
316 for j in /conf/$i/* ; do
317 [ -d $j ] || continue
320 subdir=${j##*/}
321 [ -f $j/md_size ] && eval md_size_$subdir=`cat $j/md_size`
324 if [ -f $j/remount ]; then
325 if [ -f $j/remount_subdir ]; then
331 nfspt=`/bin/cat $j/remount`
337 remount_subdir=`/bin/cat $j/remount_subdir`
340 $remount_subdir_cmd $j
341 chkerr $? "$remount_subdir_cmd $j"
345 to_umount="$j $k ${to_umount}"
347 nfspt=`/bin/cat $j/remount`
348 $nfspt $j
349 chkerr $? "$nfspt $j"
350 to_umount="$j ${to_umount}" # XXX hope it is really a mount!
355 handle_remount $j
371 for j in /conf/$i/* ; do
372 subdir=${j##*/}
373 if [ -d $j -a ! -f $j.cpio.gz ]; then
375 cp -Rp $j/ /$subdir
378 for j in /conf/$i/*.cpio.gz ; do
379 subdir=${j%*.cpio.gz}
381 if [ -f $j ]; then
383 echo "Loading /$subdir from cpio archive $j"
384 (cd / ; tar -xpf $j)
387 for j in /conf/$i/*/extract ; do
388 if [ -x $j ]; then
389 subdir=${j%*/extract}
392 echo "Loading /$subdir using auxiliary command $j"
393 $j /$subdir
396 for j in /conf/$i/*.remove ; do
397 subdir=${j%*.remove}
399 if [ -f $j ]; then
402 (cd /$subdir; rm -rf `/bin/cat $j`)