Compare commits
3 Commits
565b9464a4
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| e1eb889df1 | |||
| 89def70d77 | |||
| a014d26138 |
13
bash/backup-status
Normal file → Executable file
13
bash/backup-status
Normal file → Executable file
@@ -1,10 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
# /usr/local/bin/
|
||||
# backup-status by htrigg
|
||||
#
|
||||
# Displays the mounted media disks and the backup directories
|
||||
|
||||
tput setaf 2;df -h | awk '$6 ~ "media"'
|
||||
tput sgr0;ls -ltr --color=auto /media/corin/BACKUP
|
||||
#
|
||||
# v2.0 released 26/01/2026 to add Darrin
|
||||
|
||||
tput setaf 2;df -h | awk '$6 ~ "media"'
|
||||
tput setaf 3;echo "=== Corin ==="
|
||||
tput sgr0;ls -ltr --color=auto /media/corin/BACKUP
|
||||
tput setaf 3;echo "=== Darrin ==="
|
||||
tput sgr0;ls -ltr --color=auto /media/darrin/BACKUP
|
||||
|
||||
|
||||
11
systemd/wlan-nosleep.service
Normal file
11
systemd/wlan-nosleep.service
Normal file
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=Disable WiFi power saving
|
||||
After=multi-user.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/sbin/iw dev wlan0 set power_save off
|
||||
RemainAfterExit=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user