]> ###2024.12.09 - added VM Docker feature. ###2024.11.18 - Initial Release. **VM Cycle** Plugin to switch VM's with similar hardware passthrough. &gitURL;/packages/&name;.txz echo "Checking executable flags..." if [ -f /usr/local/emhttp/plugins/vm-cycle/scripts/none ]; then if [ ! -x /usr/local/emhttp/plugins/vm-cycle/scripts/none ]; then chmod +x /usr/local/emhttp/plugins/vm-cycle/scripts/none echo "script is executable." else echo "script was already executable." fi else echo "script doesn't exist." fi if [ -f /usr/local/emhttp/plugins/vm-cycle/scripts/start ]; then if [ ! -x /usr/local/emhttp/plugins/vm-cycle/scripts/start ]; then chmod +x /usr/local/emhttp/plugins/vm-cycle/scripts/start echo "script is executable." else echo "script was already executable." fi else echo "script doesn't exist." fi if [ -f /usr/local/emhttp/plugins/vm-cycle/scripts/vm-cycle.sh ]; then if [ ! -x /usr/local/emhttp/plugins/vm-cycle/scripts/vm-cycle.sh ]; then chmod +x /usr/local/emhttp/plugins/vm-cycle/scripts/vm-cycle.sh echo "script is executable." else echo "script was already executable." fi else echo "script doesn't exist." fi if [ -f /usr/local/emhttp/plugins/vm-cycle/scripts/vm-docker-cycle.sh ]; then if [ ! -x /usr/local/emhttp/plugins/vm-cycle/scripts/vm-docker-cycle.sh ]; then chmod +x /usr/local/emhttp/plugins/vm-cycle/scripts/vm-docker-cycle.sh echo "script is executable." else echo "script was already executable." fi else echo "script doesn't exist." fi touch /boot/config/plugins/vm-cycle/vmcyclesettings echo "Removing &name;..." removepkg &plgPATH;/*.txz rm -rf &plgPATH; rm -rf &emhttp; echo "&name; has been removed"