alxwolf / ubios-cert

Manage SSL / TLS certificates with acme.sh (Let's Encrypt, ZeroSSL) for Ubiquiti UbiOS firmwares
MIT License
170 stars 20 forks source link

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

Closed mojo333 closed 1 year ago

mojo333 commented 1 year ago
    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 https://github.com/alxwolf/ubios-cert/issues/29#issuecomment-1354764763

alxwolf commented 1 year ago

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"
mojo333 commented 1 year ago

Missed that! Thanks - closing.