mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-24 16:26:04 +02:00
Github bot : script beautyshied
This commit is contained in:
@@ -45,7 +45,7 @@ if bashio::config.has_value 'localdisks'; then
|
|||||||
# Mount
|
# Mount
|
||||||
# shellcheck disable=SC2015
|
# shellcheck disable=SC2015
|
||||||
mount "$devpath"/"$disk" -o "uid=$PUID,gid=$PGID" /mnt/"$disk" && bashio::log.info "Success! $disk mounted to /mnt/$disk" || \
|
mount "$devpath"/"$disk" -o "uid=$PUID,gid=$PGID" /mnt/"$disk" && bashio::log.info "Success! $disk mounted to /mnt/$disk" || \
|
||||||
mount "$devpath"/"$disk" /mnt/"$disk" && bashio::log.info "Success! $disk mounted to /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)
|
mount "$devpath"/"$disk" /mnt/"$disk" && bashio::log.info "Success! $disk mounted to /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
|
done
|
||||||
|
|
||||||
|
|||||||
@@ -11,5 +11,5 @@ done
|
|||||||
|
|
||||||
# Use php7
|
# Use php7
|
||||||
if [ -f /data/config/crontabs/root ]; then
|
if [ -f /data/config/crontabs/root ]; then
|
||||||
sed -i "s|php7|php|g" /data/config/crontabs/root
|
sed -i "s|php7|php|g" /data/config/crontabs/root
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user