From 15d817f0ba493102409a6a6c349bb7d6d19f0667 Mon Sep 17 00:00:00 2001 From: Christian Rößler Date: Thu, 9 Apr 2015 14:51:31 +0200 Subject: [vmchooser2] A sick prototype windows batch file, copying this file into fd.img --- remote/modules/vmchooser2/data/opt/openslx/scripts/vmchooser-run_virt | 1 + 1 file changed, 1 insertion(+) (limited to 'remote/modules/vmchooser2/data/opt/openslx/scripts') diff --git a/remote/modules/vmchooser2/data/opt/openslx/scripts/vmchooser-run_virt b/remote/modules/vmchooser2/data/opt/openslx/scripts/vmchooser-run_virt index 4af1ad29..f0cc5f04 100755 --- a/remote/modules/vmchooser2/data/opt/openslx/scripts/vmchooser-run_virt +++ b/remote/modules/vmchooser2/data/opt/openslx/scripts/vmchooser-run_virt @@ -531,6 +531,7 @@ cp "$xmlfile" "$VMCHOOSER_DIR/fd-loop/config.xml" xrandr | grep -o -E 'connected\s*(primary)?\s*[0-9]+x[0-9]+\+0\+0' | grep -o -E '[0-9]+x[0-9]+' | head -n 1 > "$VMCHOOSER_DIR/fd-loop/hostres.txt" # Add our magic openslx binary that sets the correct guest resolution cp "$VMCHOOSER_DIR/data/openslx.exe" "$VMCHOOSER_DIR/fd-loop/" +cp "$VMCHOOSER_DIR/data/SHARELWS.BAT" "$VMCHOOSER_DIR/fd-loop/" for SHARE in $(grep -o -E '^SLX_SHARE_.*_PATH' /opt/openslx/config); do eval echo -n "\$${SHARE} \$${SHARE%PATH}PERM" >> "$VMCHOOSER_DIR/fd-loop/SHARELW.CFG" echo -e '\r\n' >> "$VMCHOOSER_DIR/fd-loop/SHARELW.CFG" -- cgit v1.2.3-55-g7522