From ae1967b66eba132dd8c9fa5b5f57712d012b6647 Mon Sep 17 00:00:00 2001 From: Jesse Young Date: Fri, 25 Nov 2011 12:46:26 -0600 Subject: Replace instances of "--chuid" to "--user" in initd scripts Fixes #776 Signed-off-by: Jesse Young --- main/open-vm-tools/APKBUILD | 6 +++--- main/open-vm-tools/open-vm-tools.initd | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'main/open-vm-tools') diff --git a/main/open-vm-tools/APKBUILD b/main/open-vm-tools/APKBUILD index 6e31f2d0a8..866c3d5d68 100644 --- a/main/open-vm-tools/APKBUILD +++ b/main/open-vm-tools/APKBUILD @@ -2,7 +2,7 @@ pkgname=open-vm-tools pkgver=2011.09.23 _pkgsubver=491607 -pkgrel=1 +pkgrel=2 pkgdesc="The Open Virtual Machine Tools are the open source implementation of VMware Tools." url="http://open-vm-tools.sourceforge.net/" arch="all" @@ -38,7 +38,7 @@ prepare() { -e 's/__unused3/st_ctim.tv_nsec/g' \ lib/file/filePosix.c lib/hgfsServer/hgfsServerLinux.c \ || return 1 - + # workaround automake-1.10 issue # http://ramblingfoo.blogspot.com/2007/07/required-file-configrpath-not-found.html touch config/config.rpath @@ -87,5 +87,5 @@ md5sums="599342eee8d531b35ca1cc948b61868f open-vm-tools-2011.09.23-491607.tar.g 840e4d6ff3f53fc22bdedf4d64aabc91 ecvt.patch 89c7449323ddac4666b73a8467baf95a iconv-uclibc.patch 7d02fc25aba5c248f3d98dac238f175b libm.patch -c96644aa42d611fae853a3a2095efc47 open-vm-tools.initd +905ef6a3bac87c9ba2e5d3897ca230e7 open-vm-tools.initd 7b833102a56009bdfc2fef2fb9ffa297 procmgrposix.patch" diff --git a/main/open-vm-tools/open-vm-tools.initd b/main/open-vm-tools/open-vm-tools.initd index e54b84aaff..45a94a37ea 100644 --- a/main/open-vm-tools/open-vm-tools.initd +++ b/main/open-vm-tools/open-vm-tools.initd @@ -39,15 +39,15 @@ start() { mount -t vmblock none ${MOUNTPOINT} eend $? fi - + ebegin "Starting vmtoolsd" - start-stop-daemon --chuid "${USER_GROUP}" --start --quiet --background --make-pidfile --pidfile "${PIDFILE}" --exec ${GUESTD_BIN} + start-stop-daemon --user "${USER_GROUP}" --start --quiet --background --make-pidfile --pidfile "${PIDFILE}" --exec ${GUESTD_BIN} eend $? } stop() { local ret - + if [ "${VM_DRAG_AND_DROP}" == "yes" ]; then ebegin "Cleaning the contents of ${DND_TMPDIR}" -- cgit v1.2.3