summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glibc/glibc-2.10.1/nscd-init.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/glibc/glibc-2.10.1/nscd-init.patch')
-rw-r--r--meta/recipes-core/glibc/glibc-2.10.1/nscd-init.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/meta/recipes-core/glibc/glibc-2.10.1/nscd-init.patch b/meta/recipes-core/glibc/glibc-2.10.1/nscd-init.patch
deleted file mode 100644
index 8017e49575..0000000000
--- a/meta/recipes-core/glibc/glibc-2.10.1/nscd-init.patch
+++ /dev/null
@@ -1,41 +0,0 @@
1Upstream-Status: Inappropriate [not used]
2
3--- nscd/nscd.init
4+++ nscd/nscd.init
5@@ -48,9 +48,8 @@
6
7 start () {
8 [ -d /var/run/nscd ] || mkdir /var/run/nscd
9- [ -d /var/db/nscd ] || mkdir /var/db/nscd
10 echo -n $"Starting $prog: "
11- daemon /usr/sbin/nscd
12+ /usr/sbin/nscd
13 RETVAL=$?
14 echo
15 [ $RETVAL -eq 0 ] && touch /var/lock/subsys/nscd
16@@ -67,12 +66,10 @@
17 # a non-privileged user
18 rm -f /var/run/nscd/nscd.pid
19 rm -f /var/run/nscd/socket
20- success $"$prog shutdown"
21- else
22- failure $"$prog shutdown"
23 fi
24- echo
25- return $RETVAL
26+ echo "Done."
27+ # If nscd did not run, return 0 according to LSB.
28+ return 0
29 }
30
31 restart() {
32@@ -104,7 +101,8 @@
33 ;;
34 force-reload | reload)
35 echo -n $"Reloading $prog: "
36- killproc /usr/sbin/nscd -HUP
37+ # Use killall, initscripts-1.0-r115 don't support -HUP yet.
38+ killall -HUP /usr/sbin/nscd
39 RETVAL=$?
40 echo
41 ;;