]> Drag to reorder the fields of a Docker template, and switch a field off without deleting it. Works on the Add/Edit Container page, including when installing from Community Apps. Utilities > Docker Template Fields can switch either feature off. With both off the plugin adds nothing to the page. ]]> for pkg in /var/log/packages/&name;-*; do if [ -e "$pkg" ]; then removepkg "$(basename "$pkg")" >/dev/null 2>&1; fi done exit 0 &pluginURL; &sha256; mkdir -p /boot/config/plugins/&name; # installpkg keeps whatever modes the archive had, so set them here chown -R root:root /usr/local/emhttp/plugins/&name; chmod -R 755 /usr/local/emhttp/plugins/&name; find /usr/local/emhttp/plugins/&name; -type f -exec chmod 644 {} \; rm -f $(ls /boot/config/plugins/&name;/&name;-*.txz 2>/dev/null | grep -v "&version;") echo "Docker Template Fields &version; installed" rm -f /boot/config/plugins/&name;/&name;-*.txz # Unraid does not forget the package on its own: without this, reinstalling the same # version before a reboot is skipped as "already installed" and installs nothing for pkg in /var/log/packages/&name;-*; do [ -e "$pkg" ] && removepkg "$(basename "$pkg")" >/dev/null 2>&1 done rm -rf /usr/local/emhttp/plugins/&name; # unraid-docker-template-fields.cfg (the two switches) is kept so a reinstall picks up where you left off