summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2023-04-04 03:31:58 (GMT)
committerBritney Fransen <brfransen@gmail.com>2023-04-04 03:31:58 (GMT)
commitddf690c3b8ef25de5845b2cbad6250efc7db536a (patch)
tree6f58f947404aaa45b1703e1083ed89af31efdefb
parentf81376ea36ab7661fbf063a6eed0f0369165a21d (diff)
downloadlinhes_pkgbuild-ddf690c3b8ef25de5845b2cbad6250efc7db536a.zip
linhes_pkgbuild-ddf690c3b8ef25de5845b2cbad6250efc7db536a.tar.gz
linhes_pkgbuild-ddf690c3b8ef25de5845b2cbad6250efc7db536a.tar.bz2
linhes-templates: smb.conf.template: add interface
-rw-r--r--linhes/linhes-templates/PKGBUILD4
-rw-r--r--linhes/linhes-templates/templates/smb.conf.template3
2 files changed, 5 insertions, 2 deletions
diff --git a/linhes/linhes-templates/PKGBUILD b/linhes/linhes-templates/PKGBUILD
index c4cbd7a..c88006c 100644
--- a/linhes/linhes-templates/PKGBUILD
+++ b/linhes/linhes-templates/PKGBUILD
@@ -1,13 +1,13 @@
pkgname=linhes-templates
pkgver=9.0.0
-pkgrel=12
+pkgrel=13
conflicts=()
pkgdesc="Templates used for LinHES system configuration"
depends=()
makedepends=()
arch=('x86_64')
source=(templates.tar.gz)
-sha256sums=('b32082c60c26151d188ea0a8c9fe0d4194f41dadabd579fdaa6a1f9eb08523bc')
+sha256sums=('18e4250603d3efd7f1a9cc6fee8ac7ff9825d5ce62b6c6afc325f50a4901fc2e')
package() {
MVDIR=$pkgdir/usr/share/linhes
diff --git a/linhes/linhes-templates/templates/smb.conf.template b/linhes/linhes-templates/templates/smb.conf.template
index a719dccd..b134f7b 100644
--- a/linhes/linhes-templates/templates/smb.conf.template
+++ b/linhes/linhes-templates/templates/smb.conf.template
@@ -18,6 +18,9 @@
server string = LinHES
+ interfaces = 192.168.0.0/16
+ bind interfaces only = yes
+
# This option is important for security. It allows you to restrict
# connections to machines which are on your local network. The
# following example restricts access to two C class networks and