aboutsummaryrefslogtreecommitdiffstats
path: root/main/open-vm-tools/systemLinux.c-fixup-for-Alpine.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-11-23 14:12:07 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-11-23 14:41:42 +0000
commita28895f56f2ab9233f7ad1b345e07c6249bef1f3 (patch)
tree84d5692bfd48a1c91da1bb1113078093be582b3f /main/open-vm-tools/systemLinux.c-fixup-for-Alpine.patch
parent00fc18aa0c07998215c7fc55185c63ae496592eb (diff)
downloadaports-a28895f56f2ab9233f7ad1b345e07c6249bef1f3.tar.bz2
aports-a28895f56f2ab9233f7ad1b345e07c6249bef1f3.tar.xz
community/open-vm-tools: move from main
Diffstat (limited to 'main/open-vm-tools/systemLinux.c-fixup-for-Alpine.patch')
-rw-r--r--main/open-vm-tools/systemLinux.c-fixup-for-Alpine.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/main/open-vm-tools/systemLinux.c-fixup-for-Alpine.patch b/main/open-vm-tools/systemLinux.c-fixup-for-Alpine.patch
deleted file mode 100644
index 1b7799ec62..0000000000
--- a/main/open-vm-tools/systemLinux.c-fixup-for-Alpine.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From db3546f6234506d51caf91e3763bfdf000828156 Mon Sep 17 00:00:00 2001
-From: Henrik Riomar <henrik.riomar@gmail.com>
-Date: Fri, 23 Nov 2018 07:40:22 +0100
-Subject: [PATCH] systemLinux.c: fixup for Alpine
-
-/sbin/shutdown -r now -> /sbin/reboot
-/sbin/shutdown -h now -> /sbin/halt
----
- open-vm-tools/lib/system/systemLinux.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/open-vm-tools/lib/system/systemLinux.c b/open-vm-tools/lib/system/systemLinux.c
-index c74d4890..c98ce962 100644
---- a/open-vm-tools/lib/system/systemLinux.c
-+++ b/open-vm-tools/lib/system/systemLinux.c
-@@ -312,7 +312,7 @@ System_Shutdown(Bool reboot) // IN: "reboot or shutdown" flag
- #elif defined(USERWORLD)
- cmd = "/bin/reboot";
- #else
-- cmd = "/sbin/shutdown -r now";
-+ cmd = "/sbin/reboot";
- #endif
- } else {
- #if __FreeBSD__
-@@ -322,7 +322,7 @@ System_Shutdown(Bool reboot) // IN: "reboot or shutdown" flag
- #elif defined(USERWORLD)
- cmd = "/bin/halt";
- #else
-- cmd = "/sbin/shutdown -h now";
-+ cmd = "/sbin/halt";
- #endif
- }
- if (system(cmd) == -1) {
---
-2.19.1
-