# fss-0002

main:
  if [[ $UID != 0 ]] ; then echo "Requiring Root Access, Enter in the password now for the root user: $host_root_name" ; su $host_root_name -c "mount -t proc proc ${TA}/proc ; mount -t devpts -o mode=622 devpts ${TA}dev/pts ; ${TO}bin/chroot $TA ${TO}/bin/env -i TERM=$TERM HOME=$root_user_home_dir HISTFILESIZE=0 PATH=$target_system_path:${TO}bin ${TO}/bin/bash --login +h" ; if [[ $? -eq 127 || $? -eq 16 ]] ; then false ; else true ; fi ; else mount -t proc proc ${TA}/proc ; mount -t devpts -o mode=622 devpts ${TA}dev/pts ; ${TO}bin/chroot $TA ${TO}/bin/env -i TERM=$TERM HOME=$root_user_home_dir HISTFILESIZE=0 PATH=$target_system_path:${TO}bin ${TO}/bin/bash --login +h ; if [[ $? -eq 127 || $? -eq 16 ]] ; then false ; else true ; fi ; fi
