mirror of
https://github.com/unifi-utilities/unifios-utilities.git
synced 2024-08-30 18:32:21 +00:00
feac1111d7
* [on-boot-script] Improve add-cron-jobs example script * Add .sh extension for consistency * Small improvements to documentation * [on-boot-script] Improve add-root-ssh-key(s) example script * Complete rewrite of script * Rename from "add-root-ssh-key" to "add-root-ssh-keys"
10 lines
212 B
Bash
10 lines
212 B
Bash
#!/bin/sh
|
|
|
|
## Store crontab files in /mnt/data/cronjobs/ (you will need to create this folder).
|
|
## This script will re-add them on startup.
|
|
|
|
cp /mnt/data/cronjobs/* /etc/cron.d/
|
|
/etc/init.d/crond restart
|
|
|
|
exit 0
|