mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 21:24:31 +04:00
Changelog: https://github.com/netbirdio/netbird/releases/tag/v0.60.8 This is the first `netbird` release that introduces a breaking change[1]. Therefore, versions after the `0.60.x` will not be backported to OpenWrt 24.10. They will be backported to OpenWrt 25.12, because that release has not been officially launched yet. By default netbird now creates/updates[2] `/etc/ssh/ssh_config.d/99-netbird.conf` for use with `openssh-client`. OpenWrt uses `dropbear`, and this behavior may cause storage wear. This behavior has been disabled with `NB_DISABLE_SSH_CONFIG="1"`[3] in the init file. [1]: https://forum.netbird.io/t/netbird-v0-60-0-released/334#p-610-upgrade-compatibility-notes-4 [2]: https://docs.netbird.io/manage/peers/ssh#native-ssh-clients-open-ssh [3]: https://github.com/netbirdio/netbird/blob/v0.60.8/client/ssh/config/manager.go#L167-L172 Signed-off-by: Wesley Gimenes <wehagy@proton.me>
19 lines
358 B
Bash
Executable File
19 lines
358 B
Bash
Executable File
#!/bin/sh /etc/rc.common
|
|
|
|
START=99
|
|
STOP=10
|
|
|
|
USE_PROCD=1
|
|
|
|
start_service() {
|
|
procd_open_instance
|
|
procd_set_param command /usr/bin/netbird
|
|
procd_append_param command service run
|
|
|
|
procd_set_param env NB_STATE_DIR="/root/.config/netbird"
|
|
procd_append_param env NB_DISABLE_SSH_CONFIG="1"
|
|
|
|
procd_set_param pidfile /var/run/netbird.pid
|
|
procd_close_instance
|
|
}
|