diff options
author | Volker Uhrig | 2008-07-10 17:50:14 +0200 |
---|---|---|
committer | Volker Uhrig | 2008-07-10 17:50:14 +0200 |
commit | 2b4d4b73d5895f8fdf50193b274dffe5bb8c06e7 (patch) | |
tree | e45fecc31b390aa4ccd182d7ba0765b89867279b /os-plugins/plugins/vmware/XX_vmware.sh | |
parent | yet another fix - now with default path /var/lib/vmware/vmconfigs (diff) | |
download | core-2b4d4b73d5895f8fdf50193b274dffe5bb8c06e7.tar.gz core-2b4d4b73d5895f8fdf50193b274dffe5bb8c06e7.tar.xz core-2b4d4b73d5895f8fdf50193b274dffe5bb8c06e7.zip |
* fixed command option. different in busybox
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1912 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/vmware/XX_vmware.sh')
-rw-r--r-- | os-plugins/plugins/vmware/XX_vmware.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os-plugins/plugins/vmware/XX_vmware.sh b/os-plugins/plugins/vmware/XX_vmware.sh index 475df8c4..04daea9c 100644 --- a/os-plugins/plugins/vmware/XX_vmware.sh +++ b/os-plugins/plugins/vmware/XX_vmware.sh @@ -261,7 +261,7 @@ $(ipcalc -m $vmip/$vmpx|sed s/.*=//) {" \ echo "vmplversion=2" > /mnt/etc/vmware/version fi if [ "${vmware_kind}" != "local" ]; then - version=$(strings /usr/lib/vmware/bin/vmplayer|head -1|cut -c 1) + version=$(strings /usr/lib/vmware/bin/vmplayer|head -n 1|cut -c 1) echo "vmplversion=${version}" > /mnt/etc/vmware/version fi |