From 1a877094d43095b524630ba53176478d2e821090 Mon Sep 17 00:00:00 2001
From: Daniel Hokka Zakrisson <dhokka@cs.princeton.edu>
Date: Fri, 7 Dec 2007 16:50:45 +0000
Subject: [PATCH] Remove unneeded services.

---
 build.sh | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/build.sh b/build.sh
index 1d3da79..bed9794 100755
--- a/build.sh
+++ b/build.sh
@@ -82,6 +82,11 @@ for pkgs in ../build/config.${pldistro}/bootstrapfs-*.pkgs ; do
 	umount ${vdir}/proc
     fi
 
+    # Remove unneeded services
+    for service in util-vserver vprocunhide vservers-default; do
+	chroot ${vdir} /sbin/chkconfig $service off
+    done
+
     # Create a copy of the ${NAME} bootstrap filesystem w/o the base
     # bootstrap filesystem and make it smaller.  This is a three step
     # process:
-- 
2.47.0