diff options
author | Richard Purdie <richard@openedhand.com> | 2008-08-12 15:12:37 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-08-12 15:12:37 +0000 |
commit | 7e2a8ebf41859fb685e80f78bc4a5ca2f423f14d (patch) | |
tree | 594a55f3c7a7e08c7f627db89938d56b1097077f /meta/packages/portmap | |
parent | 244474d7e064e4479127451e083782c117bf363e (diff) | |
download | poky-7e2a8ebf41859fb685e80f78bc4a5ca2f423f14d.tar.gz |
portmap: Remove uneeded initscript forks
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5059 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/portmap')
-rwxr-xr-x | meta/packages/portmap/files/portmap.init | 11 | ||||
-rw-r--r-- | meta/packages/portmap/portmap_6.0.bb | 2 |
2 files changed, 5 insertions, 8 deletions
diff --git a/meta/packages/portmap/files/portmap.init b/meta/packages/portmap/files/portmap.init index df9e9cf8cc..e46513e115 100755 --- a/meta/packages/portmap/files/portmap.init +++ b/meta/packages/portmap/files/portmap.init | |||
@@ -18,13 +18,11 @@ test -f /sbin/portmap || exit 0 | |||
18 | 18 | ||
19 | case "$1" in | 19 | case "$1" in |
20 | start) | 20 | start) |
21 | echo -n "Starting portmap daemon:" | 21 | echo "Starting portmap daemon..." |
22 | echo -n " portmap" | ||
23 | start-stop-daemon --start --quiet --exec /sbin/portmap | 22 | start-stop-daemon --start --quiet --exec /sbin/portmap |
24 | echo "." | ||
25 | 23 | ||
26 | if [ -f /var/run/portmap.upgrade-state ]; then | 24 | if [ -f /var/run/portmap.upgrade-state ]; then |
27 | echo -n "Restoring old RPC service information..." | 25 | echo "Restoring old RPC service information..." |
28 | sleep 1 # needs a short pause or pmap_set won't work. :( | 26 | sleep 1 # needs a short pause or pmap_set won't work. :( |
29 | pmap_set </var/run/portmap.upgrade-state | 27 | pmap_set </var/run/portmap.upgrade-state |
30 | rm -f /var/run/portmap.upgrade-state | 28 | rm -f /var/run/portmap.upgrade-state |
@@ -33,9 +31,8 @@ case "$1" in | |||
33 | 31 | ||
34 | ;; | 32 | ;; |
35 | stop) | 33 | stop) |
36 | echo -n "Stopping portmap daemon:" | 34 | echo "Stopping portmap daemon..." |
37 | echo -n " portmap" ; start-stop-daemon --stop --quiet --exec /sbin/portmap | 35 | start-stop-daemon --stop --quiet --exec /sbin/portmap |
38 | echo "." | ||
39 | ;; | 36 | ;; |
40 | reload) | 37 | reload) |
41 | ;; | 38 | ;; |
diff --git a/meta/packages/portmap/portmap_6.0.bb b/meta/packages/portmap/portmap_6.0.bb index 0892d0a9b3..7b23162ffa 100644 --- a/meta/packages/portmap/portmap_6.0.bb +++ b/meta/packages/portmap/portmap_6.0.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | require portmap.inc | 1 | require portmap.inc |
2 | 2 | ||
3 | PR = "r2" | 3 | PR = "r3" |
4 | 4 | ||
5 | SRC_URI = "http://neil.brown.name/portmap/portmap-6.0.tgz \ | 5 | SRC_URI = "http://neil.brown.name/portmap/portmap-6.0.tgz \ |
6 | file://destdir-no-strip.patch;patch=1 \ | 6 | file://destdir-no-strip.patch;patch=1 \ |