mirror of
https://github.com/unraid/webgui.git
synced 2026-02-18 06:58:47 -06:00
Set default backingfs type to native for existing installations
This commit is contained in:
@@ -61,6 +61,11 @@ mkdir -p $CONFIG/shares
|
||||
mkdir -p $CONFIG/ssh/root
|
||||
mkdir -p $CONFIG/ssl/certs
|
||||
|
||||
# Set default Docker backingfs type to native for existing installations
|
||||
if [[ -f "/boot/config/docker.cfg" ]]; then
|
||||
grep -q "DOCKER_BACKINGFS=" /boot/config/docker.cfg || echo "DOCKER_BACKINGFS=\"native\"" >> /boot/config/docker.cfg
|
||||
fi
|
||||
|
||||
# upgrade network configuration (if needed) and (re)generates our welcome text
|
||||
if [[ -x /usr/local/sbin/create_network_ini ]]; then
|
||||
/usr/local/sbin/create_network_ini init &>/dev/null &
|
||||
|
||||
Reference in New Issue
Block a user