From d39abd31154b186eb0bb190c57642e39cf93de23 Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 8 Jan 2025 23:57:18 -0500 Subject: [PATCH] pi-id bones and a quick todo list --- pi/pi_id.sh | 32 ++++++++++++++++++++++++++++++++ todo.txt | 27 +++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100755 pi/pi_id.sh create mode 100644 todo.txt diff --git a/pi/pi_id.sh b/pi/pi_id.sh new file mode 100755 index 0000000..2a37bfb --- /dev/null +++ b/pi/pi_id.sh @@ -0,0 +1,32 @@ +# ============================================================================== +# 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 + diff --git a/todo.txt b/todo.txt new file mode 100644 index 0000000..6a8cf88 --- /dev/null +++ b/todo.txt @@ -0,0 +1,27 @@ +# ============================================================================== +# Auth: dodd +# File: todo.txt +# Revn: 01-08-2025 0.1 +# Func: todo +# +# TODO: create +# ============================================================================== +# CHANGE LOG +# ------------------------------------------------------------------------------ +# 01-07-2025: init +# 01-08-2025: remembered crontab exists +# +# ============================================================================== + + +pi_id:: case/esac for PS1 + :: test current ( 01-07-2025 ) commands + +pi_setup:: replace motd + -> write down all places it's found + -> keep copies of final files after adjustment + -> look up better places to light LEDs and call ekho tbh + -> I don't think .bashrc is the right place to do those + things + -> crontab +