-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
brightness control(xorg) , Auto login DM, Bootable pendrive maker script, auto power profiling using auto-cpufreq, timeshift backup, samba-ssh server setup #465
Conversation
tabs/utils/timeshift.sh
Outdated
if [ "$SKIP_GRUB" = "yes" ]; then | ||
$ESCALATION_TOOL timeshift --restore --snapshot "$SNAPSHOT" --target-device "$TARGET_DEVICE" --skip-grub --yes | ||
else | ||
read -p "Enter GRUB device (e.g., /dev/sda): " GRUB_DEVICE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bashism: read with option other than -r
tabs/utils/timeshift.sh
Outdated
delete_snapshot() { | ||
list_snapshots | ||
|
||
read -p "Enter the snapshot name you want to delete: " SNAPSHOT |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bashism: read with option other than -r
tabs/utils/timeshift.sh
Outdated
# Function to delete all snapshots | ||
delete_all_snapshots() { | ||
echo "WARNING: This will delete all snapshots!" | ||
read -p "Are you sure? (yes/no): " CONFIRMATION |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bashism: read with option other than -r
tabs/utils/timeshift.sh
Outdated
main_menu() { | ||
while true; do | ||
display_menu | ||
read -p "Select an option (1-7): " OPTION |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bashism: read with option other than -r
tabs/utils/timeshift.sh
Outdated
*) echo "Invalid option. Please try again." ;; | ||
esac | ||
|
||
read -p "Press Enter to continue..." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bashism: read with option other than -r
Co-authored-by: Adam Perkowski <adas1per@protonmail.com>
Co-authored-by: Adam Perkowski <adas1per@protonmail.com>
Co-authored-by: Adam Perkowski <adas1per@protonmail.com>
Co-authored-by: Adam Perkowski <adas1per@protonmail.com>
Co-authored-by: Adam Perkowski <adas1per@protonmail.com>
Co-authored-by: Adam Perkowski <adas1per@protonmail.com>
Co-authored-by: Adam Perkowski <adas1per@protonmail.com>
Co-authored-by: Adam Perkowski <adas1per@protonmail.com>
Co-authored-by: Adam Perkowski <adas1per@protonmail.com>
Co-authored-by: Adam Perkowski <adas1per@protonmail.com>
Co-authored-by: Adam Perkowski <adas1per@protonmail.com>
Co-authored-by: Adam Perkowski <adas1per@protonmail.com>
Co-authored-by: Adam Perkowski <adas1per@protonmail.com>
Co-authored-by: Adam Perkowski <adas1per@protonmail.com>
|
||
setup_ssh_samba(){ | ||
echo "Samba and SSH Setup Script" | ||
echo "----------------------------" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
echo "----------------------------" | |
printf "\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n" |
tabs/utils/timeshift.sh
Outdated
display_menu() { | ||
clear | ||
echo "Timeshift CLI Automation" | ||
echo "-------------------------" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
echo "-------------------------" | |
printf "\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n" |
|
||
setup_ssh_samba(){ | ||
echo "Samba and SSH Setup Script" | ||
echo "----------------------------" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
echo "----------------------------" | |
printf "\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n" |
Pull Request
Changes Made
Checklist