10 lines
451 B
Bash
10 lines
451 B
Bash
#!/bin/sh
|
|
sudo cp -v kernelcheck /usr/local/sbin/kernelcheck
|
|
sudo cp -v notify_all /usr/local/sbin/notify_all
|
|
printf "Adding hourly service to cron scheduler..\n"
|
|
(sudo crontab -l; echo "@hourly /usr/local/sbin/kernelcheck" ) | sudo crontab -
|
|
printf "Enabling cronie scheduler..\n" # Let me know if you use something else, and enable manually.
|
|
sudo systemctl start cronie.service
|
|
sudo systemctl enable cronie.service
|
|
printf "Installation complete.\n"
|