Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (cd /usr || exit 1
- list="`ls | fgrep -v install`"
- for d in $list
- do
- cpdir -v $d /mnt/$d
- echo $c
- c=`expr $c + 4`
- done
- ) | DIALOG --title "Installation Progress" --gauge "Please wait ..." 10 60 0
- #progressbar "$USRFILES" || exit # Copy the usr floppy.
- umount /dev/$usr >/dev/null || exit # Unmount the intended /usr.
- mount /dev/$root /mnt >/dev/null || exit
- # Running from the installation CD.
- cpdir -vx / /mnt | progressbar "$ROOTFILES" || exit
- chmod o-w /mnt/usr
- cp /mnt/etc/motd.install /mnt/etc/motd
- # Fix /var/log
- rm /mnt/var/log
- ln -s /usr/log /mnt/var/log
- # CD remnants that aren't for the installed system
- rm /mnt/etc/issue /mnt/CD /mnt/.* 2>/dev/null
- echo >/mnt/etc/fstab "/dev/$root / mfs rw 0 1
- /dev/$usr /usr $FSTYPE rw 0 2
- $fshome"
Add Comment
Please, Sign In to add comment