summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'util-vserver/patches/0.30.210-r12/util-vserver-0.30.208-nicefix.patch')
-rw-r--r--util-vserver/patches/0.30.210-r12/util-vserver-0.30.208-nicefix.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/util-vserver/patches/0.30.210-r12/util-vserver-0.30.208-nicefix.patch b/util-vserver/patches/0.30.210-r12/util-vserver-0.30.208-nicefix.patch
deleted file mode 100644
index a528752..0000000
--- a/util-vserver/patches/0.30.210-r12/util-vserver-0.30.208-nicefix.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-diff -Nurp util-vserver-0.30.210.orig/scripts/legacy/vserver util-vserver-0.30.210.nice/scripts/legacy/vserver
---- util-vserver-0.30.210.orig/scripts/legacy/vserver 2005-03-21 21:03:31.000000000 +0100
-+++ util-vserver-0.30.210.nice/scripts/legacy/vserver 2006-04-13 02:34:40.000000000 +0200
-@@ -514,7 +514,7 @@ elif [ "$2" = "start" ] ; then
- DOMAINOPT="--domainname $S_DOMAINNAME"
- fi
- if [ "$S_NICE" != "" ] ; then
-- NICECMD="nice -$S_NICE"
-+ NICECMD="nice -n $S_NICE"
- fi
- mkdir -p $__PKGSTATEDIR
- chmod 700 $__PKGSTATEDIR
-diff -Nurp util-vserver-0.30.210.orig/scripts/vserver.functions util-vserver-0.30.210.nice/scripts/vserver.functions
---- util-vserver-0.30.210.orig/scripts/vserver.functions 2006-01-22 13:24:25.000000000 +0100
-+++ util-vserver-0.30.210.nice/scripts/vserver.functions 2006-04-13 02:35:35.000000000 +0200
-@@ -98,12 +98,11 @@ function _generateChbindOptions
- function _generateNiceCommand
- {
- local vdir=$1
-- local nice
-+ local nice=0
-
-- test -r "$vdir/nice" || return 0;
-- read nice <"$vdir"/nice
-+ test -r "$vdir/nice" && read nice <"$vdir"/nice
-
-- NICE_CMD=( $_NICE -$nice )
-+ NICE_CMD=( $_NICE -n $nice )
- }
-
-