#!/bin/ash



read TST SIZE NACH0 NACH VON KLEINER OLDSYS WINDOWS REST < installinfo


echo $VON       # because that f'ing bash don't work correctly, VON don't comes here correctly 

#eject $VON     
umount /dev/hdb   
eject /dev/hdb     
sleep 20


mkdir -p /nach/var/log  
cp -f logfile  /nach/var/log/SYS_Linux.install.log 


chroot /nach sync   
chroot /nach /sbin/reboot -fh    
#chroot /nach  halt -fph       # bis eject geht,  halt statt reboot  
#/sbin/halt -fn     # sicherheitshalber    :|  



