unifi-utilities / unifios-utilities

A collection of enhancements for UnifiOS based devices

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

on-boot-script vs on-boot-script-2.x

ddkedr opened this issue · comments

commented

Hey, Guys!

Can anybody tell whether I should use on-boot-script or on-boot-script-2.x for my UDMP with UnifiOS 3?

And what is the actual difference between these two?

Thanks

commented

Hey, Guys!

Can anybody tell whether I should use on-boot-script or on-boot-script-2.x for my UDMP with UnifiOS 3?

And what is the actual difference between these two?

Thanks

you need to use the 2.x version, and even that has some installation issues, read this topic for the rundown of the changes you need to perform manually after install.
#501

Minor suggestions:

  1. What about call it on-boot-script-3.x, then?
    Keep the versions aligned with Unifi OS base version.
    It would surely help to clear the confusion for new users.

  2. Improve main README.md explaining the differences.
    As it is today there is no clear mention about the two versions.
    Worse: current section for 2.x wrongly points to README.md of 1.x (!?) 😟

    Follow this readme.

  3. Put an explicit warning in the README.md of each script version telling to use the other version (according to your Unifi OS version).

Other problems:

  1. In 2.x docs the section Manual install steps are completely wrong for 3.x version.
    e.g. there is no unifi-os anymore.

  2. Also: it tells to download a udm-boot-2x_1.0.1_all.deb package but links it to the wrong version (1.0.0).
    The sample code which follows the instruction also refers to the 1.0.0 version:

    curl -L [[https://udm-boot.boostchicken.dev](https://unifi.boostchicken.io/udm-boot-2x_1.0.0_all.deb)](https://unifi.boostchicken.io/udm-boot-2x_1.0.0_all.deb) -o udm-boot-2x_1.0.0_all.deb
    dpkg -i udm-boot-2x_1.0.0_all.deb
    systemctl enable udm-boot
    exit

For reference:

After reading #501 I did these steps to install on-boot-script in a UDM-PRO 3.x.

@boostchicken Any comments about the suggestions and problems cited above?

Send a PR and I;; review, or if you want a whole new repo Ill make you one.

Actually...there might be something to maintaining a separate repo for the branch & package that supports older firmware with unifi-os and podman. I wonder if that would clear up the questions that continue to show up in issues.

Actually...there might be something to maintaining a separate repo for the branch & package that supports older firmware with unifi-os and podman.

I was thinking exactly this now.

@boostchicken What about to create a new 3.x repo in https://github.com/unifi-utilities/unifi-common (which is currently empty)?

Actually...there might be something to maintaining a separate repo for the branch & package that supports older firmware with unifi-os and podman. I wonder if that would clear up the questions that continue to show up in issues.

There is a branch 1.0.6 for old stuff

Send a PR and I;; review, or if you want a whole new repo Ill make you one.

Sorry guys. Somehow, I managed to completely miss this one.

I have an extra UDM-PRO around here.

I'll try to put some ideas up, and I'll send them to you, @boostchicken.

Actually...there might be something to maintaining a separate repo for the branch & package that supports older firmware with unifi-os and podman.

I was thinking exactly this now.

@boostchicken What about to create a new 3.x repo in https://github.com/unifi-utilities/unifi-common (which is currently empty)?

BTW: Do you have any plans for this one?

Forget it. I did just read this.

Man...

@boostchicken Did you ever attempt to boot an UDM-Pro firmware in a virtual environment (e.g. QEMU?)

@boostchicken Did you ever attempt to boot an UDM-Pro firmware in a virtual environment (e.g. QEMU?)

Hella yeah we did, their kernel didn't have the required stuff and we never got past that

Btw look at the commits I fixed a ton of issues related to 4.0 and just little things and also merged forks who had some fixes as well!