Commit Graph

17 Commits

Author SHA1 Message Date
CLN
c23834fefa
Updates cron job file to work with /crond and /cron (#519)
newer versions don't have /crond anymore, so we check if crond is there if so restart it.
if crond is not there we check for cron and restart cron if its present
fixes #515
2023-03-19 03:57:21 -07:00
John Dorman
df2a0f9144
moved to bash (#499)
thanks @kb9gxk
2023-02-22 21:44:27 -08:00
bruvv
162d4ce478
Auto set correct data path (#491)
* Corrected file path by removing /mnt

* Update 20-zerotier.sh

* Update README.md

* removed /mnt directory as evertyhing is done in /data

* Corrected URL

* Update remote_install.sh

* Auto check data dir

* fixed adguard installation

* More data fixes

* Fix dns common data path

* fixed haproxy readme
2023-02-22 08:49:54 -08:00
Bennett Perkins
6d2fb02344
preserve bash history too (#454) 2023-01-17 03:41:30 -08:00
kpr0th
1a55133512
Add files via upload (#329)
Time-of-day internet access restriction for selected clients using iptables chains.
2022-03-12 05:16:11 -08:00
Christian Neff
2677780a91
New on-boot example scripts (#275)
* [on-boot-script] Add 'shell-profile' example script

* [on-boot-script] Add 'cni-bridge' example script
2021-11-28 21:06:40 -08:00
Christian Neff
feac1111d7
[on-boot-script] Improve example scripts (add-cron-jobs, add-root-ssh-key(s)) (#270)
* [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"
2021-11-28 21:06:20 -08:00
Pedro Pombeiro
97a94faf74
Add some more on_boot.d examples (#262) 2021-11-16 07:50:21 -08:00
Adam Bolsover
465c4ea4d0
Add public keys from github (#254)
I've added a script that downloads keys from either a line separated file or github public keys into the authorized keys file. I've tested that it's working sucessfully on my UDM Pro while it was running, and with a reset.
2021-10-20 22:31:17 -07:00
Jason Hobbs
166f743781
Create 15-add-ssh-known-hosts.sh (#193)
enables automation / scripting using ssh and scp without needing prompting for trusting new hosts
2021-07-02 22:35:09 -07:00
Jason Hobbs
8043e6ae6a
add support for multiple keys to be added; plus dropbear conversion (#192)
* add support for multiple keys to be added; converts private key to dropbear for unifi scp use

* change ssh id filename for dropbear default

using .ssh/id_dropbear is dropbear's default id file so no need to use 
`ssh -i /root/id_rsa`
any more.
2021-07-02 22:34:52 -07:00
Jason Hobbs
d09f89a327
example cron job script (#186)
* Create 25-add-cron-jobs

my suggestion for adding cron jobs on startup

* Update 25-add-cron-jobs
2021-07-02 22:32:57 -07:00
John Dorman
9b274454ea 1.0.3 on boot release 2021-01-29 16:31:28 -08:00
Matthew Campbell
91c7d631a2
Added a example ssh key file in /on-boot-script/examples/udm-files/on_boot.d (#84)
* Create add-ssh-keys.sh

* Update add-ssh-keys.sh
2021-01-08 12:38:41 -08:00
Jared Komoroski
be71225ef7
Persistent SSH Key Example (#92) 2021-01-04 21:10:40 -08:00
SturdyErde
519d8759b8
Create 20-ntopng-udm.sh (#17)
* Create 20-ntopng-udm.sh

Creating more sample onboot scripts for related projects.

* Update 20-ntopng-udm.sh

Changed docker command to podman.
2020-07-11 12:01:55 -07:00
John D
511d058460
Modularization updates (#12)
* Store install-cni-plugins.sh once

* Newlines in on-boot-script

* Update example on_boot.sh for directory

* Update README.md examples

* Store 20-dns.conflist once

* Add modularized nextdns config w/IPv6 support

* Make nextdns script more generic

* Use common setup script for each dns service

* Add missing newlines

* Readme updates and ipv6 support

* Readme updates and ipv6 support

* Final updates and Ipv6

Co-authored-by: exodious <exodious@users.noreply.github.com>
2020-06-28 06:02:50 -07:00