Refactoring install

This commit is contained in:
2026-03-15 16:24:30 +00:00
parent 10939f2ea3
commit b3637e4d6f
19 changed files with 234 additions and 88 deletions

View File

@@ -0,0 +1,22 @@
#! /bin/bash
echo "-------------------------------------"
echo "Password Setup Script"
echo "-------------------------------------"
if gum confirm "Do you need to change your password?"; then
while true; do
if passwd; then
echo "Password successfully updated."
break
else
echo "Failed to update password."
if ! gum confirm "Would you like to try again?"; then
break
fi
fi
done
else
echo "Password change skipped."
fi