alxwolf / ubios-cert

Manage SSL / TLS certificates with acme.sh (Let's Encrypt, ZeroSSL) for Ubiquiti UbiOS firmwares

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

/mnt/data still hardcoded in ubios-cert.sh and 99-ubios-cert.sh

mojo333 opened this issue · comments

    A good start but this should be re-opened as the scripts in `ubios-cert/ubios-cert.sh` and `ubios-cert/on_boot.d/99-ubios-cert.sh` also need to be updated to reflect the use of `/data` and not `/mnt/data` which is hardcoded in these scripts.

Originally posted by @mojo333 in #29 (comment)

Isn't that covered in this command?

sed -i 's#/mnt/data#/data#g' "${SCRIPT_DIR}/ubios-cert/ubios-cert.env" "${SCRIPT_DIR}/ubios-cert/ubios-cert.sh" "${SCRIPT_DIR}/ubios-cert/on_boot.d/99-ubios-cert.sh"

Missed that! Thanks - closing.