rescan pci devices to hot add
devctl rescan pci0
editor
pkg install nano echo "set constantshow" >> /usr/local/etc/nanorc
cleaning
tee /etc/periodic/daily/cleanup-clientmqueue<<EOF #!/bin/sh find /var/spool/clientmqueue/ -type f -delete EOF chmod +x /etc/periodic/daily/cleanup-clientmqueue
cleaning nodeny logs
tee /etc/periodic/daily/nodeny-logs<<EOF #!/bin/sh find /usr/local/nodeny/logs/*/ -mtime +45 -delete find /usr/local/nodeny/htdocs/tickets/ -type f -mtime +90 -delete EOF chmod +x /etc/periodic/daily/nodeny-logs