mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
allow mount by label
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
- Allow mounting local drives by label. Just pust the label instead of sda1 for example
|
||||
- Improve SMB mount code to v1.5 ; accepts several network disks separated by commas (//123.12.12.12/share,//123.12.12.12/hello) that are mount to /mnt/$sharename
|
||||
|
||||
## 1.0.0 (13-10-2021)
|
||||
|
||||
@@ -27,7 +27,7 @@ Configurations can be done through the app webUI, except for the following optio
|
||||
GUID: user
|
||||
GPID: user
|
||||
TZ: timezone
|
||||
localdisks: "sda1, sdb1" # Optional
|
||||
localdisks: sda1 #put the hardware name of your drive to mount separated by commas, or its label. Ex: sda1, sdb1, MYNAS...
|
||||
networkdisks: "//SERVER/SHARE" # optional, list of smb servers to mount, separated by commas
|
||||
cifsusername: "username" # optional, smb username, same for all smb shares
|
||||
cifspassword: "password" # optional, smb password
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
# MOUNT LOCAL SHARES #
|
||||
######################
|
||||
|
||||
|
||||
|
||||
# Mount local Share if configured
|
||||
if bashio::config.has_value 'localdisks'; then
|
||||
|
||||
@@ -14,10 +12,21 @@ if bashio::config.has_value 'localdisks'; then
|
||||
|
||||
# Separate comma separated values
|
||||
for disk in ${MOREDISKS//,/ }; do
|
||||
# Mount each disk
|
||||
|
||||
# Mount by device as default
|
||||
devpath=/dev
|
||||
|
||||
# Mount as label
|
||||
[ ${disk:0:2} != "sd" ] && devpath=/dev/disk/by-label
|
||||
|
||||
# Creates dir
|
||||
mkdir -p /mnt/$disk
|
||||
chown -R $(id -u):$(id -g) /mnt/$disk
|
||||
[ -d /share/$disk ] && mount /dev/$disk /share/$disk || true
|
||||
mount /dev/$disk /mnt/$disk && bashio::log.info "Success! $disk mounted to /mnt/$disk" || (bashio::log.fatal "Unable to mount local drives!" && rmdir /mnt/$disk)
|
||||
# Legacy mounting : mount to share if still exists (avoid breaking changes)
|
||||
[ -d /share/$disk ] && mount $devpath/$disk /share/$disk || true
|
||||
# Mount
|
||||
mount $devpath/$disk /mnt/$disk && bashio::log.info "Success! $disk mounted to /mnt/$disk" || (bashio::log.fatal "Unable to mount local drives! Please check the name." && rmdir /mnt/$disk)
|
||||
|
||||
done
|
||||
|
||||
fi
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
- Allow mounting local drives by label. Just pust the label instead of sda1 for example
|
||||
- Allow uploads >16mb
|
||||
- Allow mounting local drives in protected mode
|
||||
- Allow mounting of devices up to sdg2
|
||||
|
||||
@@ -17,13 +17,13 @@ This addon is based on the [docker image](https://hub.docker.com/r/coderaiser/cl
|
||||
Webui can be found at `<your-ip>:8000`.
|
||||
|
||||
```yaml
|
||||
"localdisks": "sda1" # Optional, requires priviledged mode
|
||||
"networkdisks": "//SERVER/SHARE" # optional, list of smb servers to mount, separated by commas
|
||||
"cifsusername": "username" # optional, smb username, same for all smb shares
|
||||
"cifspassword": "password" # optional, smb password
|
||||
"smbv1": "bool?" # smb v1
|
||||
"DROPBOX_TOKEN": "str?" # see https://cloudcmd.io/
|
||||
"CUSTOM_OPTIONS": "--name Homeassistant" # custom options from https://cloudcmd.io/
|
||||
localdisks: sda1 #put the hardware name of your drive to mount separated by commas, or its label. Ex: sda1, sdb1, MYNAS...
|
||||
networkdisks: "//SERVER/SHARE" # optional, list of smb servers to mount, separated by commas
|
||||
cifsusername: "username" # optional, smb username, same for all smb shares
|
||||
cifspassword: "password" # optional, smb password
|
||||
smbv1: "bool?" # smb v1
|
||||
DROPBOX_TOKEN: "str?" # see https://cloudcmd.io/
|
||||
CUSTOM_OPTIONS: "--name Homeassistant" # custom options from https://cloudcmd.io/
|
||||
```
|
||||
|
||||
## Installation
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
# MOUNT LOCAL SHARES #
|
||||
######################
|
||||
|
||||
|
||||
|
||||
# Mount local Share if configured
|
||||
if bashio::config.has_value 'localdisks'; then
|
||||
|
||||
@@ -14,10 +12,21 @@ if bashio::config.has_value 'localdisks'; then
|
||||
|
||||
# Separate comma separated values
|
||||
for disk in ${MOREDISKS//,/ }; do
|
||||
# Mount each disk
|
||||
|
||||
# Mount by device as default
|
||||
devpath=/dev
|
||||
|
||||
# Mount as label
|
||||
[ ${disk:0:2} != "sd" ] && devpath=/dev/disk/by-label
|
||||
|
||||
# Creates dir
|
||||
mkdir -p /mnt/$disk
|
||||
chown -R $(id -u):$(id -g) /mnt/$disk
|
||||
[ -d /share/$disk ] && mount /dev/$disk /share/$disk || true
|
||||
mount /dev/$disk /mnt/$disk && bashio::log.info "Success! $disk mounted to /mnt/$disk" || (bashio::log.fatal "Unable to mount local drives!" && rmdir /mnt/$disk)
|
||||
# Legacy mounting : mount to share if still exists (avoid breaking changes)
|
||||
[ -d /share/$disk ] && mount $devpath/$disk /share/$disk || true
|
||||
# Mount
|
||||
mount $devpath/$disk /mnt/$disk && bashio::log.info "Success! $disk mounted to /mnt/$disk" || (bashio::log.fatal "Unable to mount local drives! Please check the name." && rmdir /mnt/$disk)
|
||||
|
||||
done
|
||||
|
||||
fi
|
||||
|
||||
@@ -1,32 +1,43 @@
|
||||
- Allow mounting local drives by label. Just pust the label instead of sda1 for example
|
||||
- Allow mounting of devices up to sdg2
|
||||
|
||||
## 3.12.0 (16-09-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-code-server
|
||||
|
||||
## 3.11.1 (12-08-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-code-server
|
||||
|
||||
## 3.11.0 (16-07-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-code-server
|
||||
|
||||
## 3.10.2 (22-05-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-code-server
|
||||
|
||||
## 3.10.1 (18-05-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-code-server
|
||||
|
||||
## 3.10.0 (12-05-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-code-server
|
||||
|
||||
## 3.9.3
|
||||
|
||||
- Update to latest version from linuxserver/docker-code-server
|
||||
|
||||
## 3.9.2
|
||||
|
||||
- Update to latest version from linuxserver/docker-code-server
|
||||
|
||||
## 3.9.1
|
||||
|
||||
- Update to latest version from linuxserver/docker-code-server
|
||||
|
||||
## 3.9.0
|
||||
|
||||
- Update to latest version from linuxserver/docker-code-server
|
||||
- Enables PUID/GUID options
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
# MOUNT LOCAL SHARES #
|
||||
######################
|
||||
|
||||
|
||||
|
||||
# Mount local Share if configured
|
||||
if bashio::config.has_value 'localdisks'; then
|
||||
|
||||
@@ -14,10 +12,21 @@ if bashio::config.has_value 'localdisks'; then
|
||||
|
||||
# Separate comma separated values
|
||||
for disk in ${MOREDISKS//,/ }; do
|
||||
# Mount each disk
|
||||
|
||||
# Mount by device as default
|
||||
devpath=/dev
|
||||
|
||||
# Mount as label
|
||||
[ ${disk:0:2} != "sd" ] && devpath=/dev/disk/by-label
|
||||
|
||||
# Creates dir
|
||||
mkdir -p /mnt/$disk
|
||||
chown -R $(id -u):$(id -g) /mnt/$disk
|
||||
[ -d /share/$disk ] && mount /dev/$disk /share/$disk || true
|
||||
mount /dev/$disk /mnt/$disk && bashio::log.info "Success! $disk mounted to /mnt/$disk" || (bashio::log.fatal "Unable to mount local drives!" && rmdir /mnt/$disk)
|
||||
# Legacy mounting : mount to share if still exists (avoid breaking changes)
|
||||
[ -d /share/$disk ] && mount $devpath/$disk /share/$disk || true
|
||||
# Mount
|
||||
mount $devpath/$disk /mnt/$disk && bashio::log.info "Success! $disk mounted to /mnt/$disk" || (bashio::log.fatal "Unable to mount local drives! Please check the name." && rmdir /mnt/$disk)
|
||||
|
||||
done
|
||||
|
||||
fi
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
- Allow mounting local drives by label. Just pust the label instead of sda1 for example
|
||||
- Improve SMB mount code to v1.5 ; accepts several network disks separated by commas (//123.12.12.12/share,//123.12.12.12/hello) that are mount to /mnt/$sharename
|
||||
|
||||
## 4.7.0.15 (23-10-2021)
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
# MOUNT LOCAL SHARES #
|
||||
######################
|
||||
|
||||
|
||||
|
||||
# Mount local Share if configured
|
||||
if bashio::config.has_value 'localdisks'; then
|
||||
|
||||
@@ -14,10 +12,21 @@ if bashio::config.has_value 'localdisks'; then
|
||||
|
||||
# Separate comma separated values
|
||||
for disk in ${MOREDISKS//,/ }; do
|
||||
# Mount each disk
|
||||
|
||||
# Mount by device as default
|
||||
devpath=/dev
|
||||
|
||||
# Mount as label
|
||||
[ ${disk:0:2} != "sd" ] && devpath=/dev/disk/by-label
|
||||
|
||||
# Creates dir
|
||||
mkdir -p /mnt/$disk
|
||||
chown -R $(id -u):$(id -g) /mnt/$disk
|
||||
[ -d /share/$disk ] && mount /dev/$disk /share/$disk || true
|
||||
mount /dev/$disk /mnt/$disk && bashio::log.info "Success! $disk mounted to /mnt/$disk" || (bashio::log.fatal "Unable to mount local drives!" && rmdir /mnt/$disk)
|
||||
# Legacy mounting : mount to share if still exists (avoid breaking changes)
|
||||
[ -d /share/$disk ] && mount $devpath/$disk /share/$disk || true
|
||||
# Mount
|
||||
mount $devpath/$disk /mnt/$disk && bashio::log.info "Success! $disk mounted to /mnt/$disk" || (bashio::log.fatal "Unable to mount local drives! Please check the name." && rmdir /mnt/$disk)
|
||||
|
||||
done
|
||||
|
||||
fi
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
- Allow mounting local drives by label. Just pust the label instead of sda1 for example
|
||||
- Allow mounting of devices up to sdg2
|
||||
- Allow uploads >16mb
|
||||
- Allow local mount in protected mode
|
||||
|
||||
@@ -25,7 +25,7 @@ certfile: fullchain.pem #ssl certificate
|
||||
keyfile: privkey.pem #sslkeyfile
|
||||
NoAuth: true/false #Remove password. Resets database when changed.
|
||||
smbv1: false # Should smbv1 be used instead of 2.1+?
|
||||
localdisks: sda1 #put the hardware name of your drive to mount separated by commas. Ex: sda1, sdb1...
|
||||
localdisks: sda1 #put the hardware name of your drive to mount separated by commas, or its label. Ex: sda1, sdb1, MYNAS...
|
||||
networkdisks: "//SERVER/SHARE" # optional, list of smbv2/3 servers to mount, separated by commas
|
||||
cifsusername: "username" # optional, smb username, same for all smb shares
|
||||
cifspassword: "password" # optional, smb password, same for all smb shares)
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
# MOUNT LOCAL SHARES #
|
||||
######################
|
||||
|
||||
|
||||
|
||||
# Mount local Share if configured
|
||||
if bashio::config.has_value 'localdisks'; then
|
||||
|
||||
@@ -14,10 +12,21 @@ if bashio::config.has_value 'localdisks'; then
|
||||
|
||||
# Separate comma separated values
|
||||
for disk in ${MOREDISKS//,/ }; do
|
||||
# Mount each disk
|
||||
|
||||
# Mount by device as default
|
||||
devpath=/dev
|
||||
|
||||
# Mount as label
|
||||
[ ${disk:0:2} != "sd" ] && devpath=/dev/disk/by-label
|
||||
|
||||
# Creates dir
|
||||
mkdir -p /mnt/$disk
|
||||
chown -R $(id -u):$(id -g) /mnt/$disk
|
||||
[ -d /share/$disk ] && mount /dev/$disk /share/$disk || true
|
||||
mount /dev/$disk /mnt/$disk && bashio::log.info "Success! $disk mounted to /mnt/$disk" || (bashio::log.fatal "Unable to mount local drives!" && rmdir /mnt/$disk)
|
||||
# Legacy mounting : mount to share if still exists (avoid breaking changes)
|
||||
[ -d /share/$disk ] && mount $devpath/$disk /share/$disk || true
|
||||
# Mount
|
||||
mount $devpath/$disk /mnt/$disk && bashio::log.info "Success! $disk mounted to /mnt/$disk" || (bashio::log.fatal "Unable to mount local drives! Please check the name." && rmdir /mnt/$disk)
|
||||
|
||||
done
|
||||
|
||||
fi
|
||||
|
||||
@@ -46,7 +46,7 @@ You can place the user folder from the theme/skeleton in /share/grav/www/user,
|
||||
GUID: user
|
||||
GPID: user
|
||||
TZ: timezone
|
||||
localdisks: "sda1" # Optional
|
||||
localdisks: sda1 #put the hardware name of your drive to mount separated by commas, or its label. Ex: sda1, sdb1, MYNAS...
|
||||
networkdisks: "//SERVER/SHARE" # optional, list of smb servers to mount, separated by commas
|
||||
cifsusername: "username" # optional, smb username, same for all smb shares
|
||||
cifspassword: "password" # optional, smb password
|
||||
|
||||
@@ -1,402 +1,537 @@
|
||||
- Allow mounting local drives by label. Just pust the label instead of sda1 for example
|
||||
|
||||
# 0.19.108 (31-10-2021)
|
||||
|
||||
## 0.19.108 (31-10-2021)
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.19.96 (30-10-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.19.84 (29-10-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.19.71 (28-10-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.19.62 (26-10-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.19.34 (23-10-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.19.16 (23-10-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.1041 (21-10-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.1022 (19-10-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.995 (15-10-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.992 (14-10-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.984 (13-10-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.929 (11-10-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.911 (09-10-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.908 (08-10-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.901 (06-10-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.899 (05-10-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.896 (04-10-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.891 (03-10-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.887 (02-10-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.875 (02-10-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.845 (29-09-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.815 (28-09-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.812 (26-09-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.795 (25-09-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.791 (24-09-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.789 (22-09-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.788 (22-09-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.786 (21-09-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.773 (17-09-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.767 (16-09-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.761 (15-09-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.746 (13-09-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.737 (12-09-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.729 (11-09-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.724 (10-09-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.713 (09-09-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.709 (08-09-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.666 (06-09-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.652 (04-09-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.648 (03-09-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.641 (02-09-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.632 (31-08-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.623 (29-08-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.616 (28-08-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.613 (28-08-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.606 (26-08-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.590 (24-08-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.578 (21-08-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.551 (19-08-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.545 (17-08-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.541 (14-08-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.537 (11-08-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.532 (10-08-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.531 (09-08-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.527 (07-08-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.525 (07-08-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.523 (05-08-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.518 (03-08-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.515 (02-08-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.505 (30-07-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.502 (29-07-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.496 (29-07-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.475 (25-07-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.463 (24-07-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.459 (23-07-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.457 (22-07-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.455 (21-07-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.444 (18-07-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.441 (17-07-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.432 (16-07-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.424 (14-07-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.413 (12-07-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.410 (11-07-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.407 (09-07-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.403 (07-07-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.402 (05-07-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.394 (05-07-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.390 (03-07-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.386 (30-06-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.385 (30-06-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.383 (29-06-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.379 (24-06-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.376 (24-06-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.372 (22-06-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.367 (22-06-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.364 (20-06-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.359 (19-06-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.345 (17-06-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.329 (16-06-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.317 (15-06-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.303 (14-06-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.290 (13-06-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.283 (10-06-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.273 (10-06-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.263 (09-06-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.259 (08-06-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.255 (07-06-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.234 (06-06-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.231 (05-06-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.225 (03-06-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.210 (02-06-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.205 (01-06-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.196 (30-05-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.181 (30-05-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.171 (28-05-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.169 (28-05-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.155 (27-05-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.145 (25-05-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.106 (24-05-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.100 (23-05-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.98 (21-05-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.96 (20-05-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.95 (19-05-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.88 (18-05-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.74 (17-05-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.67 (16-05-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.59 (15-05-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.31 (13-05-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.22 (12-05-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.15 (11-05-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.18.7 (10-05-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.17.1036 (08-05-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.17.1027 (06-05-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.17.1011 (06-05-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.17.1008 (05-05-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.17.996 (04-05-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.17.972 (03-05-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.17.966 (02-05-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.17.963 (01-05-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.17.960 (30-04-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.17.954 (29-04-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 0.17.952 (27-04-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
## 3.0.2.4552
|
||||
|
||||
- Update to latest version from linuxserver/docker-jackett
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
# MOUNT LOCAL SHARES #
|
||||
######################
|
||||
|
||||
|
||||
|
||||
# Mount local Share if configured
|
||||
if bashio::config.has_value 'localdisks'; then
|
||||
|
||||
@@ -14,10 +12,21 @@ if bashio::config.has_value 'localdisks'; then
|
||||
|
||||
# Separate comma separated values
|
||||
for disk in ${MOREDISKS//,/ }; do
|
||||
# Mount each disk
|
||||
|
||||
# Mount by device as default
|
||||
devpath=/dev
|
||||
|
||||
# Mount as label
|
||||
[ ${disk:0:2} != "sd" ] && devpath=/dev/disk/by-label
|
||||
|
||||
# Creates dir
|
||||
mkdir -p /mnt/$disk
|
||||
chown -R $(id -u):$(id -g) /mnt/$disk
|
||||
[ -d /share/$disk ] && mount /dev/$disk /share/$disk || true
|
||||
mount /dev/$disk /mnt/$disk && bashio::log.info "Success! $disk mounted to /mnt/$disk" || (bashio::log.fatal "Unable to mount local drives!" && rmdir /mnt/$disk)
|
||||
# Legacy mounting : mount to share if still exists (avoid breaking changes)
|
||||
[ -d /share/$disk ] && mount $devpath/$disk /share/$disk || true
|
||||
# Mount
|
||||
mount $devpath/$disk /mnt/$disk && bashio::log.info "Success! $disk mounted to /mnt/$disk" || (bashio::log.fatal "Unable to mount local drives! Please check the name." && rmdir /mnt/$disk)
|
||||
|
||||
done
|
||||
|
||||
fi
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
- Allow mounting local drives by label. Just pust the label instead of sda1 for example
|
||||
- Initial release
|
||||
- Improve SMB mount code to v1.5 ; accepts several network disks separated by commas (//123.12.12.12/share,//123.12.12.12/hello) that are mount to /mnt/$sharename
|
||||
|
||||
@@ -42,7 +42,7 @@ Configurations can be done through the app webUI, except for the following optio
|
||||
GUID: user
|
||||
GPID: user
|
||||
TZ: timezone
|
||||
localdisks: "sda1" # Optional
|
||||
localdisks: sda1 #put the hardware name of your drive to mount separated by commas, or its label. Ex: sda1, sdb1, MYNAS...
|
||||
networkdisks: "//SERVER/SHARE" # optional, list of smb servers to mount, separated by commas
|
||||
cifsusername: "username" # optional, smb username, same for all smb shares
|
||||
cifspassword: "password" # optional, smb password
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
# MOUNT LOCAL SHARES #
|
||||
######################
|
||||
|
||||
|
||||
|
||||
# Mount local Share if configured
|
||||
if bashio::config.has_value 'localdisks'; then
|
||||
|
||||
@@ -14,10 +12,21 @@ if bashio::config.has_value 'localdisks'; then
|
||||
|
||||
# Separate comma separated values
|
||||
for disk in ${MOREDISKS//,/ }; do
|
||||
# Mount each disk
|
||||
|
||||
# Mount by device as default
|
||||
devpath=/dev
|
||||
|
||||
# Mount as label
|
||||
[ ${disk:0:2} != "sd" ] && devpath=/dev/disk/by-label
|
||||
|
||||
# Creates dir
|
||||
mkdir -p /mnt/$disk
|
||||
chown -R $(id -u):$(id -g) /mnt/$disk
|
||||
[ -d /share/$disk ] && mount /dev/$disk /share/$disk || true
|
||||
mount /dev/$disk /mnt/$disk && bashio::log.info "Success! $disk mounted to /mnt/$disk" || (bashio::log.fatal "Unable to mount local drives!" && rmdir /mnt/$disk)
|
||||
# Legacy mounting : mount to share if still exists (avoid breaking changes)
|
||||
[ -d /share/$disk ] && mount $devpath/$disk /share/$disk || true
|
||||
# Mount
|
||||
mount $devpath/$disk /mnt/$disk && bashio::log.info "Success! $disk mounted to /mnt/$disk" || (bashio::log.fatal "Unable to mount local drives! Please check the name." && rmdir /mnt/$disk)
|
||||
|
||||
done
|
||||
|
||||
fi
|
||||
|
||||
@@ -34,7 +34,7 @@ Webui can be found at `<your-ip>:8000`.
|
||||
GUID: user
|
||||
GPID: user
|
||||
ocrlang: Any language can be set from this page (always three letters) [here](https://tesseract-ocr.github.io/tessdoc/Data-Files#data-files-for-version-400-november-29-2016).
|
||||
localdisks: "sda1" # list of device to mount (optional)
|
||||
localdisks: sda1 #put the hardware name of your drive to mount separated by commas, or its label. Ex: sda1, sdb1, MYNAS...
|
||||
networkdisks: "<//SERVER/SHARE>" # list of smbv2/3 servers to mount (optional)
|
||||
cifsusername: "username" # smb username (optional)
|
||||
cifspassword: "password" # smb password (optional)
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
- Allow mounting local drives by label. Just pust the label instead of sda1 for example
|
||||
- Allow mounting of devices up to sdg2
|
||||
- Improve SMB mount code to v1.5 ; accepts several network disks separated by commas (//123.12.12.12/share,//123.12.12.12/hello) that are mount to /mnt/$sharename
|
||||
|
||||
|
||||
@@ -34,17 +34,17 @@ comparison to installing any other Hass.io add-on.
|
||||
Webui can be found at <http://your-ip:2342>
|
||||
|
||||
```yaml
|
||||
"localdisks": "sda1" # Optional, requires priviledged mode
|
||||
"networkdisks": "//SERVER/SHARE" # optional, list of smb servers to mount, separated by commas
|
||||
"cifsusername": "username" # optional, smb username, same for all smb shares
|
||||
"cifspassword": "password" # optional, smb password
|
||||
"cifsdomain": "domain" # optional, allow setting the domain for the smb share
|
||||
"UPLOAD_NSFW": "true" allow uploads that may be offensive
|
||||
"STORAGE_PATH": "/share/photoprism/storage" # storage PATH for cache, database and sidecar files
|
||||
"ORIGINALS_PATH": "/share/photoprism/originals" # originals PATH containing your photo and video collection
|
||||
"IMPORT_PATH": "/share/photoprism/import" # PATH for importing files to originals
|
||||
"BACKUP_PATH": "/share/photoprism/backup" # backup storage PATH
|
||||
"CUSTOM_OPTIONS": "--site-title HA_Photoprism" # custom options from https://docs.photoprism.org/getting-started/config-options/
|
||||
localdisks: sda1 #put the hardware name of your drive to mount separated by commas, or its label. Ex: sda1, sdb1, MYNAS...
|
||||
networkdisks: "//SERVER/SHARE" # optional, list of smb servers to mount, separated by commas
|
||||
cifsusername: "username" # optional, smb username, same for all smb shares
|
||||
cifspassword: "password" # optional, smb password
|
||||
cifsdomain: "domain" # optional, allow setting the domain for the smb share
|
||||
UPLOAD_NSFW: "true" allow uploads that may be offensive
|
||||
STORAGE_PATH: "/share/photoprism/storage" # storage PATH for cache, database and sidecar files
|
||||
ORIGINALS_PATH: "/share/photoprism/originals" # originals PATH containing your photo and video collection
|
||||
IMPORT_PATH: "/share/photoprism/import" # PATH for importing files to originals
|
||||
BACKUP_PATH: "/share/photoprism/backup" # backup storage PATH
|
||||
CUSTOM_OPTIONS: "--site-title HA_Photoprism" # custom options from https://docs.photoprism.org/getting-started/config-options/
|
||||
```
|
||||
|
||||
## Illustration
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
# MOUNT LOCAL SHARES #
|
||||
######################
|
||||
|
||||
|
||||
|
||||
# Mount local Share if configured
|
||||
if bashio::config.has_value 'localdisks'; then
|
||||
|
||||
@@ -14,10 +12,21 @@ if bashio::config.has_value 'localdisks'; then
|
||||
|
||||
# Separate comma separated values
|
||||
for disk in ${MOREDISKS//,/ }; do
|
||||
# Mount each disk
|
||||
|
||||
# Mount by device as default
|
||||
devpath=/dev
|
||||
|
||||
# Mount as label
|
||||
[ ${disk:0:2} != "sd" ] && devpath=/dev/disk/by-label
|
||||
|
||||
# Creates dir
|
||||
mkdir -p /mnt/$disk
|
||||
chown -R $(id -u):$(id -g) /mnt/$disk
|
||||
[ -d /share/$disk ] && mount /dev/$disk /share/$disk || true
|
||||
mount /dev/$disk /mnt/$disk && bashio::log.info "Success! $disk mounted to /mnt/$disk" || (bashio::log.fatal "Unable to mount local drives!" && rmdir /mnt/$disk)
|
||||
# Legacy mounting : mount to share if still exists (avoid breaking changes)
|
||||
[ -d /share/$disk ] && mount $devpath/$disk /share/$disk || true
|
||||
# Mount
|
||||
mount $devpath/$disk /mnt/$disk && bashio::log.info "Success! $disk mounted to /mnt/$disk" || (bashio::log.fatal "Unable to mount local drives! Please check the name." && rmdir /mnt/$disk)
|
||||
|
||||
done
|
||||
|
||||
fi
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
- Allow mounting local drives by label. Just pust the label instead of sda1 for example
|
||||
- Allow mounting of devices up to sdg2
|
||||
|
||||
## 11.5.0 (15-05-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-piwigo
|
||||
|
||||
## 11.4.0
|
||||
- Update to latest version from linuxserver/docker-piwigo
|
||||
|
||||
- Update to latest version from linuxserver/docker-piwigo
|
||||
|
||||
@@ -37,7 +37,7 @@ Webui can be found at <http://your-ip:81>.
|
||||
```yaml
|
||||
GUID: user
|
||||
GPID: user
|
||||
localdisks: "sda1" # list of device to mount (optional)
|
||||
localdisks: sda1 #put the hardware name of your drive to mount separated by commas, or its label. Ex: sda1, sdb1, MYNAS...
|
||||
networkdisks: "<//SERVER/SHARE>" # list of smbv2/3 servers to mount (optional)
|
||||
cifsusername: "username" # smb username (optional)
|
||||
cifspassword: "password" # smb password (optional)
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
# MOUNT LOCAL SHARES #
|
||||
######################
|
||||
|
||||
|
||||
|
||||
# Mount local Share if configured
|
||||
if bashio::config.has_value 'localdisks'; then
|
||||
|
||||
@@ -14,10 +12,21 @@ if bashio::config.has_value 'localdisks'; then
|
||||
|
||||
# Separate comma separated values
|
||||
for disk in ${MOREDISKS//,/ }; do
|
||||
# Mount each disk
|
||||
|
||||
# Mount by device as default
|
||||
devpath=/dev
|
||||
|
||||
# Mount as label
|
||||
[ ${disk:0:2} != "sd" ] && devpath=/dev/disk/by-label
|
||||
|
||||
# Creates dir
|
||||
mkdir -p /mnt/$disk
|
||||
chown -R $(id -u):$(id -g) /mnt/$disk
|
||||
[ -d /share/$disk ] && mount /dev/$disk /share/$disk || true
|
||||
mount /dev/$disk /mnt/$disk && bashio::log.info "Success! $disk mounted to /mnt/$disk" || (bashio::log.fatal "Unable to mount local drives!" && rmdir /mnt/$disk)
|
||||
# Legacy mounting : mount to share if still exists (avoid breaking changes)
|
||||
[ -d /share/$disk ] && mount $devpath/$disk /share/$disk || true
|
||||
# Mount
|
||||
mount $devpath/$disk /mnt/$disk && bashio::log.info "Success! $disk mounted to /mnt/$disk" || (bashio::log.fatal "Unable to mount local drives! Please check the name." && rmdir /mnt/$disk)
|
||||
|
||||
done
|
||||
|
||||
fi
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
- Allow mounting local drives by label. Just pust the label instead of sda1 for example
|
||||
|
||||
## 1.24.5.5173-8dcc73a59-ls83 (28-10-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-plex
|
||||
- Improve SMB mount code to v1.5 ; accepts several network disks separated by commas (//123.12.12.12/share,//123.12.12.12/hello) that are mount to /mnt/$sharename
|
||||
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
# MOUNT LOCAL SHARES #
|
||||
######################
|
||||
|
||||
|
||||
|
||||
# Mount local Share if configured
|
||||
if bashio::config.has_value 'localdisks'; then
|
||||
|
||||
@@ -14,10 +12,21 @@ if bashio::config.has_value 'localdisks'; then
|
||||
|
||||
# Separate comma separated values
|
||||
for disk in ${MOREDISKS//,/ }; do
|
||||
# Mount each disk
|
||||
|
||||
# Mount by device as default
|
||||
devpath=/dev
|
||||
|
||||
# Mount as label
|
||||
[ ${disk:0:2} != "sd" ] && devpath=/dev/disk/by-label
|
||||
|
||||
# Creates dir
|
||||
mkdir -p /mnt/$disk
|
||||
chown -R $(id -u):$(id -g) /mnt/$disk
|
||||
[ -d /share/$disk ] && mount /dev/$disk /share/$disk || true
|
||||
mount /dev/$disk /mnt/$disk && bashio::log.info "Success! $disk mounted to /mnt/$disk" || (bashio::log.fatal "Unable to mount local drives!" && rmdir /mnt/$disk)
|
||||
# Legacy mounting : mount to share if still exists (avoid breaking changes)
|
||||
[ -d /share/$disk ] && mount $devpath/$disk /share/$disk || true
|
||||
# Mount
|
||||
mount $devpath/$disk /mnt/$disk && bashio::log.info "Success! $disk mounted to /mnt/$disk" || (bashio::log.fatal "Unable to mount local drives! Please check the name." && rmdir /mnt/$disk)
|
||||
|
||||
done
|
||||
|
||||
fi
|
||||
|
||||
@@ -42,7 +42,7 @@ Configurations can be done through the app webUI, except for the following optio
|
||||
GUID: user
|
||||
GPID: user
|
||||
TZ: timezone
|
||||
localdisks: "sda1, sdb1" # Optional
|
||||
localdisks: sda1 #put the hardware name of your drive to mount separated by commas, or its label. Ex: sda1, sdb1, MYNAS...
|
||||
networkdisks: "//SERVER/SHARE" # optional, list of smb servers to mount, separated by commas
|
||||
cifsusername: "username" # optional, smb username, same for all smb shares
|
||||
cifspassword: "password" # optional, smb password
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
- Allow mounting local drives by label. Just pust the label instead of sda1 for example
|
||||
|
||||
## 14.3.9.99202110311443-7435-01519b5e7ubuntu20.04.1-ls159 (31-10-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-qbittorrent
|
||||
- Improve SMB mount code to v1.5 ; accepts several network disks separated by commas (//123.12.12.12/share,//123.12.12.12/hello) that are mount to /mnt/$sharename
|
||||
|
||||
|
||||
@@ -60,7 +60,7 @@ Username: "admin" #username to access webui. Please change it as the default is
|
||||
customUI: selection from list # alternative webUI can be set here. Latest version set at each addon start.
|
||||
DNS_servers : 8.8.8.8,1.1.1.1 # Keep blank to use router’s DNS, or set custom DNS to avoid spamming in case of local DNS ad-remover
|
||||
SavePath: "/share/qbittorrent" # Define the download directory
|
||||
localdisks: "sda1" # Optional
|
||||
localdisks: sda1 #put the hardware name of your drive to mount separated by commas, or its label. Ex: sda1, sdb1, MYNAS...
|
||||
networkdisks: "//SERVER/SHARE" # optional, list of smb servers to mount, separated by commas
|
||||
cifsusername: "username" # optional, smb username, same for all smb shares
|
||||
cifspassword: "password" # optional, smb password
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
# MOUNT LOCAL SHARES #
|
||||
######################
|
||||
|
||||
|
||||
|
||||
# Mount local Share if configured
|
||||
if bashio::config.has_value 'localdisks'; then
|
||||
|
||||
@@ -14,10 +12,21 @@ if bashio::config.has_value 'localdisks'; then
|
||||
|
||||
# Separate comma separated values
|
||||
for disk in ${MOREDISKS//,/ }; do
|
||||
# Mount each disk
|
||||
|
||||
# Mount by device as default
|
||||
devpath=/dev
|
||||
|
||||
# Mount as label
|
||||
[ ${disk:0:2} != "sd" ] && devpath=/dev/disk/by-label
|
||||
|
||||
# Creates dir
|
||||
mkdir -p /mnt/$disk
|
||||
chown -R $(id -u):$(id -g) /mnt/$disk
|
||||
[ -d /share/$disk ] && mount /dev/$disk /share/$disk || true
|
||||
mount /dev/$disk /mnt/$disk && bashio::log.info "Success! $disk mounted to /mnt/$disk" || (bashio::log.fatal "Unable to mount local drives!" && rmdir /mnt/$disk)
|
||||
# Legacy mounting : mount to share if still exists (avoid breaking changes)
|
||||
[ -d /share/$disk ] && mount $devpath/$disk /share/$disk || true
|
||||
# Mount
|
||||
mount $devpath/$disk /mnt/$disk && bashio::log.info "Success! $disk mounted to /mnt/$disk" || (bashio::log.fatal "Unable to mount local drives! Please check the name." && rmdir /mnt/$disk)
|
||||
|
||||
done
|
||||
|
||||
fi
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
- Allow mounting local drives by label. Just pust the label instead of sda1 for example
|
||||
- Improve SMB mount code to v1.5 ; accepts several network disks separated by commas (//123.12.12.12/share,//123.12.12.12/hello) that are mount to /mnt/$sharename
|
||||
- Breaking changes : multiple network disks must be separated by a "," and they are mounted to a folder with the name of the external share.
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@ Configurations can be done through the app webUI, except for the following optio
|
||||
GUID: user
|
||||
GPID: user
|
||||
TZ: timezone
|
||||
localdisks: "sda1, sdb1" # Optional
|
||||
localdisks: sda1 #put the hardware name of your drive to mount separated by commas, or its label. Ex: sda1, sdb1, MYNAS...
|
||||
networkdisks: "//SERVER/SHARE" # optional, list of smb servers to mount, separated by commas
|
||||
cifsusername: "username" # optional, smb username, same for all smb shares
|
||||
cifspassword: "password" # optional, smb password
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
# MOUNT LOCAL SHARES #
|
||||
######################
|
||||
|
||||
|
||||
|
||||
# Mount local Share if configured
|
||||
if bashio::config.has_value 'localdisks'; then
|
||||
|
||||
@@ -14,10 +12,21 @@ if bashio::config.has_value 'localdisks'; then
|
||||
|
||||
# Separate comma separated values
|
||||
for disk in ${MOREDISKS//,/ }; do
|
||||
# Mount each disk
|
||||
|
||||
# Mount by device as default
|
||||
devpath=/dev
|
||||
|
||||
# Mount as label
|
||||
[ ${disk:0:2} != "sd" ] && devpath=/dev/disk/by-label
|
||||
|
||||
# Creates dir
|
||||
mkdir -p /mnt/$disk
|
||||
chown -R $(id -u):$(id -g) /mnt/$disk
|
||||
[ -d /share/$disk ] && mount /dev/$disk /share/$disk || true
|
||||
mount /dev/$disk /mnt/$disk && bashio::log.info "Success! $disk mounted to /mnt/$disk" || (bashio::log.fatal "Unable to mount local drives!" && rmdir /mnt/$disk)
|
||||
# Legacy mounting : mount to share if still exists (avoid breaking changes)
|
||||
[ -d /share/$disk ] && mount $devpath/$disk /share/$disk || true
|
||||
# Mount
|
||||
mount $devpath/$disk /mnt/$disk && bashio::log.info "Success! $disk mounted to /mnt/$disk" || (bashio::log.fatal "Unable to mount local drives! Please check the name." && rmdir /mnt/$disk)
|
||||
|
||||
done
|
||||
|
||||
fi
|
||||
|
||||
@@ -1,8 +1,11 @@
|
||||
- Allow mounting local drives by label. Just pust the label instead of sda1 for example
|
||||
|
||||
## nightly-0.1.0.1003-ls22 (28-10-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-readarr
|
||||
|
||||
## nightly-0.1.0.998-ls20 (23-10-2021)
|
||||
|
||||
- Update to latest version from linuxserver/docker-readarr
|
||||
- Improve SMB mount code to v1.5 ; accepts several network disks separated by commas (//123.12.12.12/share,//123.12.12.12/hello) that are mount to /mnt/$sharename
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@ Configurations can be done through the app webUI, except for the following optio
|
||||
GUID: user
|
||||
GPID: user
|
||||
TZ: timezone
|
||||
localdisks: "sda1" # Optional
|
||||
localdisks: sda1 #put the hardware name of your drive to mount separated by commas, or its label. Ex: sda1, sdb1, MYNAS...
|
||||
networkdisks: "//SERVER/SHARE" # optional, list of smb servers to mount, separated by commas
|
||||
cifsusername: "username" # optional, smb username, same for all smb shares
|
||||
cifspassword: "password" # optional, smb password
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
# MOUNT LOCAL SHARES #
|
||||
######################
|
||||
|
||||
|
||||
|
||||
# Mount local Share if configured
|
||||
if bashio::config.has_value 'localdisks'; then
|
||||
|
||||
@@ -14,10 +12,21 @@ if bashio::config.has_value 'localdisks'; then
|
||||
|
||||
# Separate comma separated values
|
||||
for disk in ${MOREDISKS//,/ }; do
|
||||
# Mount each disk
|
||||
|
||||
# Mount by device as default
|
||||
devpath=/dev
|
||||
|
||||
# Mount as label
|
||||
[ ${disk:0:2} != "sd" ] && devpath=/dev/disk/by-label
|
||||
|
||||
# Creates dir
|
||||
mkdir -p /mnt/$disk
|
||||
chown -R $(id -u):$(id -g) /mnt/$disk
|
||||
[ -d /share/$disk ] && mount /dev/$disk /share/$disk || true
|
||||
mount /dev/$disk /mnt/$disk && bashio::log.info "Success! $disk mounted to /mnt/$disk" || (bashio::log.fatal "Unable to mount local drives!" && rmdir /mnt/$disk)
|
||||
# Legacy mounting : mount to share if still exists (avoid breaking changes)
|
||||
[ -d /share/$disk ] && mount $devpath/$disk /share/$disk || true
|
||||
# Mount
|
||||
mount $devpath/$disk /mnt/$disk && bashio::log.info "Success! $disk mounted to /mnt/$disk" || (bashio::log.fatal "Unable to mount local drives! Please check the name." && rmdir /mnt/$disk)
|
||||
|
||||
done
|
||||
|
||||
fi
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
- Allow mounting local drives by label. Just pust the label instead of sda1 for example
|
||||
- Allow mounting local drives by label. Just pust the label instead of sda1 for example
|
||||
- Improve SMB mount code to v1.5 ; accepts several network disks separated by commas (//123.12.12.12/share,//123.12.12.12/hello) that are mount to /mnt/$sharename
|
||||
|
||||
## 3.0.6.1342 (02-10-2021)
|
||||
|
||||
@@ -42,7 +42,7 @@ Configurations can be done through the app webUI, except for the following optio
|
||||
GUID: user
|
||||
GPID: user
|
||||
TZ: timezone
|
||||
localdisks: "sda1, sdb1" # Optional
|
||||
localdisks: sda1 #put the hardware name of your drive to mount separated by commas, or its label. Ex: sda1, sdb1, MYNAS...
|
||||
networkdisks: "//SERVER/SHARE" # optional, list of smb servers to mount, separated by commas
|
||||
cifsusername: "username" # optional, smb username, same for all smb shares
|
||||
cifspassword: "password" # optional, smb password
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
# MOUNT LOCAL SHARES #
|
||||
######################
|
||||
|
||||
|
||||
|
||||
# Mount local Share if configured
|
||||
if bashio::config.has_value 'localdisks'; then
|
||||
|
||||
@@ -14,10 +12,21 @@ if bashio::config.has_value 'localdisks'; then
|
||||
|
||||
# Separate comma separated values
|
||||
for disk in ${MOREDISKS//,/ }; do
|
||||
# Mount each disk
|
||||
|
||||
# Mount by device as default
|
||||
devpath=/dev
|
||||
|
||||
# Mount as label
|
||||
[ ${disk:0:2} != "sd" ] && devpath=/dev/disk/by-label
|
||||
|
||||
# Creates dir
|
||||
mkdir -p /mnt/$disk
|
||||
chown -R $(id -u):$(id -g) /mnt/$disk
|
||||
[ -d /share/$disk ] && mount /dev/$disk /share/$disk || true
|
||||
mount /dev/$disk /mnt/$disk && bashio::log.info "Success! $disk mounted to /mnt/$disk" || (bashio::log.fatal "Unable to mount local drives!" && rmdir /mnt/$disk)
|
||||
# Legacy mounting : mount to share if still exists (avoid breaking changes)
|
||||
[ -d /share/$disk ] && mount $devpath/$disk /share/$disk || true
|
||||
# Mount
|
||||
mount $devpath/$disk /mnt/$disk && bashio::log.info "Success! $disk mounted to /mnt/$disk" || (bashio::log.fatal "Unable to mount local drives! Please check the name." && rmdir /mnt/$disk)
|
||||
|
||||
done
|
||||
|
||||
fi
|
||||
|
||||
@@ -28,12 +28,14 @@ comparison to installing any other Hass.io add-on.
|
||||
|
||||
Options :
|
||||
|
||||
- "download_dir": "/share/downloads" # where the files will be saved after download
|
||||
- "incomplete_dir": "/share/incomplete" # where the files are saved during download
|
||||
- "localdisks": ["sda1"] # list of devices to mount, '' if none
|
||||
- "networkdisks": "<//SERVER/SHARE>" # list of smbv2/3 servers to mount, '' if none
|
||||
- "cifsusername": "<username>" # smb username
|
||||
- "cifspassword": "<password>" # smb password
|
||||
```yaml
|
||||
download_dir: "/share/downloads" # where the files will be saved after download
|
||||
incomplete_dir: "/share/incomplete" # where the files are saved during download
|
||||
localdisks: sda1 #put the hardware name of your drive to mount separated by commas, or its label. Ex: sda1, sdb1, MYNAS...
|
||||
networkdisks: "<//SERVER/SHARE>" # list of smbv2/3 servers to mount, '' if none
|
||||
cifsusername: "<username>" # smb username
|
||||
cifspassword: "<password>" # smb password
|
||||
```
|
||||
|
||||
Complete transmission options are in /share/transmission (make sure addon is stopped before modifying it as Transmission writes its ongoing values when stopping and could erase your changes)
|
||||
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
# MOUNT LOCAL SHARES #
|
||||
######################
|
||||
|
||||
|
||||
|
||||
# Mount local Share if configured
|
||||
if bashio::config.has_value 'localdisks'; then
|
||||
|
||||
@@ -14,10 +12,21 @@ if bashio::config.has_value 'localdisks'; then
|
||||
|
||||
# Separate comma separated values
|
||||
for disk in ${MOREDISKS//,/ }; do
|
||||
# Mount each disk
|
||||
|
||||
# Mount by device as default
|
||||
devpath=/dev
|
||||
|
||||
# Mount as label
|
||||
[ ${disk:0:2} != "sd" ] && devpath=/dev/disk/by-label
|
||||
|
||||
# Creates dir
|
||||
mkdir -p /mnt/$disk
|
||||
chown -R $(id -u):$(id -g) /mnt/$disk
|
||||
[ -d /share/$disk ] && mount /dev/$disk /share/$disk || true
|
||||
mount /dev/$disk /mnt/$disk && bashio::log.info "Success! $disk mounted to /mnt/$disk" || (bashio::log.fatal "Unable to mount local drives!" && rmdir /mnt/$disk)
|
||||
# Legacy mounting : mount to share if still exists (avoid breaking changes)
|
||||
[ -d /share/$disk ] && mount $devpath/$disk /share/$disk || true
|
||||
# Mount
|
||||
mount $devpath/$disk /mnt/$disk && bashio::log.info "Success! $disk mounted to /mnt/$disk" || (bashio::log.fatal "Unable to mount local drives! Please check the name." && rmdir /mnt/$disk)
|
||||
|
||||
done
|
||||
|
||||
fi
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
# MOUNT LOCAL SHARES #
|
||||
######################
|
||||
|
||||
|
||||
|
||||
# Mount local Share if configured
|
||||
if bashio::config.has_value 'localdisks'; then
|
||||
|
||||
@@ -14,10 +12,21 @@ if bashio::config.has_value 'localdisks'; then
|
||||
|
||||
# Separate comma separated values
|
||||
for disk in ${MOREDISKS//,/ }; do
|
||||
# Mount each disk
|
||||
|
||||
# Mount by device as default
|
||||
devpath=/dev
|
||||
|
||||
# Mount as label
|
||||
[ ${disk:0:2} != "sd" ] && devpath=/dev/disk/by-label
|
||||
|
||||
# Creates dir
|
||||
mkdir -p /mnt/$disk
|
||||
chown -R $(id -u):$(id -g) /mnt/$disk
|
||||
[ -d /share/$disk ] && mount /dev/$disk /share/$disk || true
|
||||
mount /dev/$disk /mnt/$disk && bashio::log.info "Success! $disk mounted to /mnt/$disk" || (bashio::log.fatal "Unable to mount local drives!" && rmdir /mnt/$disk)
|
||||
# Legacy mounting : mount to share if still exists (avoid breaking changes)
|
||||
[ -d /share/$disk ] && mount $devpath/$disk /share/$disk || true
|
||||
# Mount
|
||||
mount $devpath/$disk /mnt/$disk && bashio::log.info "Success! $disk mounted to /mnt/$disk" || (bashio::log.fatal "Unable to mount local drives! Please check the name." && rmdir /mnt/$disk)
|
||||
|
||||
done
|
||||
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user