33 lines
850 B
Bash
Executable File
33 lines
850 B
Bash
Executable File
# ==============================================================================
|
|
# Auth: dodd
|
|
# File: pi_id.sh
|
|
# Revn: 01-04-2025 0.1
|
|
# Func: ask user questions about new device
|
|
#
|
|
# TODO: bro figure out the ps1 thing
|
|
# also like can i change the fucking hostname?
|
|
# ==============================================================================
|
|
# CHANGE LOG
|
|
# ------------------------------------------------------------------------------
|
|
# 01-04-2025: init
|
|
#
|
|
# ==============================================================================
|
|
|
|
|
|
## ask for host name???
|
|
# get user input
|
|
# hostnamectl set-hostname $hstnm
|
|
|
|
# ask for username
|
|
# change groupname from default to user input
|
|
# get user input
|
|
#
|
|
|
|
# ask for new password?
|
|
# get user input
|
|
# echo '$usr:$pwd' | sudo chpasswd
|
|
|
|
# ask about PS1????
|
|
# dump PS1 case/esac into .bash_profile
|
|
|