Nmbd samba (#145)

* Update config.json

* Update Dockerfile

* Update config.json

* Update run.sh
This commit is contained in:
Pascal Vizeli
2017-07-21 15:25:34 +02:00
committed by GitHub
parent 87317209f1
commit c74ff60794
3 changed files with 4 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ FROM %%BASE_IMAGE%%
ENV LANG C.UTF-8 ENV LANG C.UTF-8
# Setup base # Setup base
RUN apk add --no-cache tzdata jq samba-server samba-common-tools RUN apk add --no-cache jq samba-server samba-common-tools
# Copy data # Copy data
COPY run.sh / COPY run.sh /

View File

@@ -1,10 +1,10 @@
{ {
"name": "Samba share", "name": "Samba share",
"version": "1.0", "version": "1.1",
"slug": "samba", "slug": "samba",
"description": "Expose HassIO folders with Samba", "description": "Expose HassIO folders with Samba",
"url": "https://home-assistant.io/addons/samba/", "url": "https://home-assistant.io/addons/samba/",
"startup": "before", "startup": "services",
"boot": "auto", "boot": "auto",
"ports": { "ports": {
"445/tcp": 445, "445/tcp": 445,

View File

@@ -71,4 +71,5 @@ else
echo -e "$PASSWORD\n$PASSWORD" | smbpasswd -a -s -c /etc/smb.conf "$USERNAME" echo -e "$PASSWORD\n$PASSWORD" | smbpasswd -a -s -c /etc/smb.conf "$USERNAME"
fi fi
nmbd -s /etc/smb.conf
exec smbd -F -S -s /etc/smb.conf < /dev/null exec smbd -F -S -s /etc/smb.conf < /dev/null