diff options
author | Michael Janczyk | 2006-05-15 20:09:40 +0200 |
---|---|---|
committer | Michael Janczyk | 2006-05-15 20:09:40 +0200 |
commit | 6594f031e8d7d05a751e40adb25086cddda9454c (patch) | |
tree | 80c6e2ef019e4229942c47c83f949c9a81765076 /initrd | |
parent | changed from cp to ln -s (diff) | |
download | core-6594f031e8d7d05a751e40adb25086cddda9454c.tar.gz core-6594f031e8d7d05a751e40adb25086cddda9454c.tar.xz core-6594f031e8d7d05a751e40adb25086cddda9454c.zip |
new option -s --start, replaces -o -os and -s --spec
now start with -s /--start windowsxp-kursversion ;)
git-svn-id: http://svn.openslx.org/svn/openslx/ld4@214 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initrd')
-rw-r--r-- | initrd/initrd-stuff/etc/vmware-prep | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/initrd/initrd-stuff/etc/vmware-prep b/initrd/initrd-stuff/etc/vmware-prep index 1955b589..1edb19d5 100644 --- a/initrd/initrd-stuff/etc/vmware-prep +++ b/initrd/initrd-stuff/etc/vmware-prep @@ -84,16 +84,14 @@ Xpath () { # blabla sessiondinens desktop_session () { - echo -e "#!/bin/sh\n#\n# file generated by\n#\t${0}:\n#\t${date}\n - # set to black background\nxsetroot -solid "black"\n - os=\$(echo \$0 | sed -e \"s,-, ,;s,.*/,,\" | awk '{print \$1}') - spec=\$(echo \$0 | sed -e \"s,-, ,;s,.*/,,\" | awk '{print \$2}')\n - options=\"-o \${os} \${spec:+\"-s \${spec}\"}\"\n + echo -e "#!/bin/sh\n#\n# file generated by\n#\t${0}:\n#\t${date}\c + \n# set to black background\nxsetroot -solid \"black\"\n + startvm=\$(echo \$0 | sed -e \"s,.*/,,\") xterm -bg black -fg white -geometry 170x30+0-0 +sb \ - -e \"${path}/runvmware \${options} ${debug}\"\n" \ + -e \"${path}/runvmware -s \${startvm} ${debug}\"\n" \ > ${path}/desktop-session - chmod a+x ${path}/desktop-session + chmod 755 ${path}/desktop-session } |