# AM·OS installer shell banner and PATH.
export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin
printf '\033]P2%s' "01B46F"
printf '\033]PA%s' "01B46F"
# Show once per interactive login shell.
if [ -z "${AMOS_BANNER_SHOWN:-}" ] && [ -n "${PS1:-}" ]; then
    export AMOS_BANNER_SHOWN=1
    cat <<BANNER

AM·OS installer shell
---------------------
  setup                    Launch the installation wizard
  chroot-target            Mount and enter a target filesystem
  chroot-target --umount   Unmount the target
  lsblk                    List block devices
  dmesg | less             Kernel log

  For LUKS: cryptsetup open /dev/sdaN cryptroot
            chroot-target /dev/mapper/cryptroot

  For LVM:  vgchange -ay
            chroot-target /dev/vgN/root

  Installation media is at /mnt

BANNER
fi
