#!/bin/sh # init # Craig Jennings # An archsetup script to welcome user, present options, and setup ssh # server from the live cd. Functions to installing base arch and setup # the workstation occur in other scripts, called by this script. # Run as root after booting the live cd and issuing the following command: # curl -s https://cjennings.net/archsetup/init | sh welcome () { clear echo "ArchSetup" echo "---------" echo "" echo "" } setup_ssh () { systemctl start sshd echo "root:welcome" | chpasswd hostname=$(