Commit Graph

75 Commits

Author SHA1 Message Date
John Dorman
e5269cf3cf
4.0 support (#608) 2024-05-13 19:34:28 -07:00
Charlie Chrisman
2adb24f5e6
Update remote_install.sh (#603)
add support for UnifiOS 4.* when determining `DATA_DIR`
2024-05-06 00:10:03 -07:00
Derek
f210f4d252
Unifi Express Functionality (#590) 2024-02-14 21:13:22 -08:00
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
Gavin Eke
803e077f5d
on-boot-script README 1.0.7 (#476)
* Remove markdown style link from code block

* Updated to on-boot-script README to 1.0.7
2023-02-11 02:24:57 -08:00
John Dorman
505de4c0a8 1.0.7 2023-01-31 22:22:14 -08:00
John Dorman
6d819de9d8 Fixed 1.0.6 2023-01-31 08:28:28 -08:00
John Dorman
73fd8abd16 1.0.6 2023-01-30 15:48:45 -08:00
Vincent S. Cojot
64da86312e
Add some retries at boot for times when udm-boot kicks in when network is not yet up. (#468)
* After restart on failure if some services are not yet available at boot

* Some more tunables tested on UDM-Pro
2023-01-24 15:34:18 -08:00
John Dorman
8f5303365d
Update README.md 2023-01-17 05:46:14 -08:00
Jin Kang
b586b4b2a7
Updated script to support UDM/UDMPro 2.x firmware (#451)
* Updated script to support UDM/UDMPro 2.x firmware while preserving legacy UDM/UDMPro 1.x firmware

* Updated script to make the message clearer of which device and version was detected
2023-01-17 03:45:45 -08:00
Bennett Perkins
6d2fb02344
preserve bash history too (#454) 2023-01-17 03:41:30 -08:00
Laurence Laforest
7ea55e2747
Set the Data Dir based on unifi-os version in boot script (#437) 2022-11-26 17:30:06 -08:00
Danimal4326
80d8ed9770
Update README.md (#394) 2022-07-19 06:28:16 -07:00
John Dorman
4d25211b76 Updating Org
Signed-off-by: John Dorman <john@boostchicken.dev>
2022-06-24 08:16:09 -07:00
John D
bbaf3a3919 Updating Org
Signed-off-by: John Dorman <john@boostchicken.dev>
2022-06-24 03:41:51 -07:00
John D
6731b2432f Updating branch name
Signed-off-by: John Dorman <john@boostchicken.dev>
2022-06-24 03:33:29 -07:00
StealthCT
4a1d6f11b3
Path references for boostchicken-dev and forks (#341)
* Fix Github references from boostchicken to boostchicken-dev

* Download CNI bridge script from upstream rather than fork

The remote_install.sh script was retrieving the 05-cni-bridge.sh script
from gtrabanco's fork, rather than the main repository.

* Rename 05-cni-bridge.sh to 06-cni-bridge.sh
2022-03-25 06:08:14 -07: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
Emil Vissing
fac3f1187d
Update remote_install.sh (#318)
https://github.com/boostchicken-dev/udm-utilities/issues/316
2022-02-06 01:14:37 -08:00
Michael Muré
df249b4cd8
on-boot: inform about the .sh requirement in the readme (#306) 2022-01-16 04:21:37 -08:00
Gabriel Trabanco
c1b8b5ec71
[Feature] Remote install script (#299)
* Remote install script for udm, udr, udm-pro & udmse

* Added podman dependency for udm/pro. Fix dependencies

* Removed set -e

* Using env to call sh

* Fixes everywhere

* Added some format

* Added doc

* Fix(refactor): Refactored script to have .sh extension

* Added code owner

Co-authored-by: Gabriel Trabanco Llano <gtrabanco@users.noreply.github.com>
2022-01-16 04:21:20 -08:00
Ryan Gates
295a0b6d4b
Fixed broken link (#302) 2021-12-28 05:31:40 -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 D
b371478d57 LFS fix 2021-06-09 22:14:15 -07:00
John Dorman
b4b66b9701 Fixing 1.0.5 2021-05-26 05:40:50 -07:00
John Dorman
a67e595259 1.0.5 2021-05-25 11:25:55 -07:00
John Dorman
4f69be27d1 Added 1.0.5 deb package 2021-05-25 10:48:59 -07:00
John Dorman
16e21e6c9f 1.0.5 changelog 2021-05-25 10:47:16 -07:00
John D
cc56791b01 Documentation fixes 2021-05-25 10:40:39 -07:00
John D
dd9f8b5899 Remove old on_boot scripts 2021-05-25 02:13:19 -07:00
vutang50
e823c08db7
Follow symlinks (#158)
Add parameter to follow symlinks, so that both files and symlinks can be found under on_boot.d
2021-05-25 01:50:49 -07:00
なつき
2d61fe6403
Use a shell one-liner to embed on_boot.sh logic in service file (#113) 2021-03-18 13:29:21 -07:00
John Dorman
a77698f9b1 1.0.4 on boot release 2021-01-29 17:21:00 -08:00
John Dorman
2ad0c62bdd udm-boot 1.0.4 2021-01-29 17:17:19 -08:00
なつき
39acea281c
Better fix for #71, #86 (#106) 2021-01-29 17:09:12 -08:00
John Dorman
6cb37352d1 1.0.3 on boot release 2021-01-29 17:00:54 -08: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
Thomas Spalinger
8f7939e77f
potential fix for #71 (#86)
* potential fix for #71

* use systemctl now argument
2021-01-08 12:38:25 -08:00
Jared Komoroski
be71225ef7
Persistent SSH Key Example (#92) 2021-01-04 21:10:40 -08:00
Thomas Spalinger
282b9bd3ce
Some build and package improvements (#45)
* add missing package version to change log

* fix some warnings of lintian during deb build

* simplification of the debian package

* introduce build script with docker/podman support

* use already existing ssh proxy, has the nice effect of not displaying the welcome message

* update readme for 1.0.2

* fix missing argument in apt-get autoremove
2020-09-08 02:54:51 -07:00