mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +00:00
samba: dont install systemd services if SAMBA_SERVER is not enabled
closes #2945
This commit is contained in:
parent
ea41c9fe16
commit
a54157ae2c
@ -193,7 +193,9 @@ makeinstall_target() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
enable_service samba-defaults.service
|
if [ "$SAMBA_SERVER" = "yes" ]; then
|
||||||
enable_service nmbd.service
|
enable_service samba-defaults.service
|
||||||
enable_service smbd.service
|
enable_service nmbd.service
|
||||||
|
enable_service smbd.service
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user