Lines Matching refs:j
313 for j in /conf/$i/* ; do
314 [ -d $j ] || continue
317 subdir=${j##*/}
318 [ -f $j/md_size ] && eval md_size_$subdir=`cat $j/md_size`
321 if [ -f $j/remount ]; then
322 if [ -f $j/remount_subdir ]; then
328 nfspt=`/bin/cat $j/remount`
334 remount_subdir=`/bin/cat $j/remount_subdir`
337 $remount_subdir_cmd $j
338 chkerr $? "$remount_subdir_cmd $j"
342 to_umount="$j $k ${to_umount}"
344 nfspt=`/bin/cat $j/remount`
345 $nfspt $j
346 chkerr $? "$nfspt $j"
347 to_umount="$j ${to_umount}" # XXX hope it is really a mount!
352 handle_remount $j
368 for j in /conf/$i/* ; do
369 subdir=${j##*/}
370 if [ -d $j -a ! -f $j.cpio.gz ]; then
372 cp -Rp $j/ /$subdir
375 for j in /conf/$i/*.cpio.gz ; do
376 subdir=${j%*.cpio.gz}
378 if [ -f $j ]; then
380 echo "Loading /$subdir from cpio archive $j"
381 (cd / ; tar -xpf $j)
384 for j in /conf/$i/*/extract ; do
385 if [ -x $j ]; then
386 subdir=${j%*/extract}
389 echo "Loading /$subdir using auxiliary command $j"
390 $j /$subdir
393 for j in /conf/$i/*.remove ; do
394 subdir=${j%*.remove}
396 if [ -f $j ]; then
399 (cd /$subdir; rm -rf `/bin/cat $j`)