home *** CD-ROM | disk | FTP | other *** search
/ Dream 46 / Amiga_Dream_46.iso / bo / boot / root.bin / root / etc / rc < prev    next >
Text File  |  1997-05-19  |  496b  |  18 lines

  1. #!    /bin/sh
  2. #set -x 
  3. root_device=`block_device /`
  4. echo "Root is mounted from $root_device"
  5. # mount writable
  6. mount -t minix -n -o remount $root_device /
  7. # write new mtab
  8. echo -n > /etc/mtab
  9. mount -t minix -o remount $root_device /
  10. # Make sure there are no old entries in /etc/fstab to confuse the installer.
  11. echo "$root_device / minix rw 0 1" >/etc/fstab
  12. # already mounted by init; write mtab entry
  13. mount -o remount -t proc proc /proc
  14. update
  15. cat /proc/kmsg >/dev/tty4 &
  16. echo "/etc/rc done."
  17. exit 0
  18.