Magellan Linux

Diff of /alx-src/trunk/alxinstall-ng/bin/alxinstall-ng.sh.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 259 by niro, Mon Apr 18 19:01:41 2005 UTC revision 260 by niro, Mon Apr 18 20:27:57 2005 UTC
# Line 1  Line 1 
1  #!/bin/sh  #!/bin/sh
2  #  #
3  # $Header: /home/cvsd/alx-cvs/alx-src/alxinstall-ng/bin/alxinstall-ng.sh,v 1.1.1.1 2005-04-18 19:01:41 niro Exp $  # $Header: /home/cvsd/alx-cvs/alx-src/alxinstall-ng/bin/alxinstall-ng.sh,v 1.2 2005-04-18 20:27:57 niro Exp $
4  #  #
5  # AutoSta_LX Installation Script  # AutoSta_LX Installation Script
6  # version: 0.8b  # version: 0.8b
# Line 321  dialog_main() { Line 321  dialog_main() {
321   "1" "AutoSta_LX installieren" \   "1" "AutoSta_LX installieren" \
322   "2" "Uebersicht gefundener Laufwerke" \   "2" "Uebersicht gefundener Laufwerke" \
323   "3" "Beenden und neustarten" \   "3" "Beenden und neustarten" \
324   "4" "Beenden ohne neustarten" `   "4" "Beenden und eine Shell starten" `
325   RES=$?   RES=$?
326   if [ "$RES" == "1" ];then   if [ "$RES" == "1" ];then
327   exit 1   exit 1
# Line 338  dialog_main() { Line 338  dialog_main() {
338   ;;   ;;
339   "3") install_do_reboot   "3") install_do_reboot
340   ;;   ;;
341     "4") /bin/bash --login -i
342     ;;
343   esac   esac
344   fi   fi
345   done   done
# Line 524  root (hd0,0) Line 526  root (hd0,0)
526  setup (hd0)  setup (hd0)
527  quit  quit
528  EOF  EOF
529  exit  exit 0
530  CHROOTEOF  CHROOTEOF
531   fi   fi
532    
# Line 537  root (hd0,0) Line 539  root (hd0,0)
539  setup (hd0)  setup (hd0)
540  quit  quit
541  EOF  EOF
542  exit  exit 0
543  CHROOTEOF  CHROOTEOF
544   fi   fi
545    
546   ##enters chroot   ##enters chroot
547   mount -t proc proc $INSTALLPATH/proc   mount -t proc proc $INSTALLPATH/proc
548   chroot $INSTALLPATH /bin/bash   chroot $INSTALLPATH /bin/bash --rcfile /root/.bashrc -i
549   umount $INSTALLPATH/proc   umount $INSTALLPATH/proc
550   rm $INSTALLPATH/root/.bashrc   rm $INSTALLPATH/root/.bashrc
551  }  }

Legend:
Removed from v.259  
changed lines
  Added in v.260