mirror of
				https://gitea.blesmrt.net/mikaela/shell-things.git
				synced 2025-10-26 14:47:36 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			30 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Workaround it appearing to break SSH especially on family PC
 | |
| @reboot /bin/bash -c "/bin/nordvpn set killswitch off;/usr/bin/systemctl disable --now nordvpnd.{service.socket} --quiet"
 | |
| 
 | |
| # Ensure /etc/sysctl.d/ gets read
 | |
| @reboot /usr/sbin/sysctl -p --system >/dev/null 2>&1
 | |
| 
 | |
| # Ensure we really allow ICMPv6 on FEDORA
 | |
| @reboot /usr/bin/firewall-cmd --add-protocol=ipv6-icmp >/dev/null 2>&1
 | |
| 
 | |
| # 3rd party Xbox controller initialization. See Mikaela/gist/gayming/
 | |
| @reboot /root/fixcontroller.py
 | |
| 
 | |
| # BTRFS deduplication (on Lumina at least)
 | |
| @reboot /usr/sbin/duperemove -rdhq --hashfile=/root/home.hash /home
 | |
| @reboot /usr/sbin/duperemove -rdhq --hashfile=/root/flatpak.hash /var/lib/flatpak
 | |
| @reboot /usr/sbin/duperemove -rdhq --hashfile=/root/snap.hash /var/lib/snapd
 | |
| 
 | |
| # Another attempt at ensuring Yggdrasil works with nordvpnd
 | |
| @reboot /usr/bin/sleep 300 && /usr/sbin/sysctl net.ipv6.conf.all.disable_ipv6=0 >/dev/null 2>&1
 | |
| @reboot /usr/bin/sleep 315 && /usr/bin/systemctl restart yggdrasil.service --quiet
 | |
| 
 | |
| # Fedora Kinoite on Steam Deck workaround for disappearing network on boot
 | |
| # iwd is pulled in by NetworkManager
 | |
| @reboot /usr/bin/sleep 30 && /usr/bin/systemctl stop iwd.service --quiet
 | |
| @reboot /usr/bin/sleep 45 && /usr/bin/systemctl restart NetworkManager.service
 | |
| # It seems confused on my Steam Deck with Kinoite messing up
 | |
| @reboot sleep 30 && systemctl restart hhd@aminda.service
 | |
| 
 | |
| # vim: filetype=crontab
 |