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