summaryrefslogtreecommitdiffstats
path: root/meta/packages/portmap
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-08-12 15:12:37 +0000
committerRichard Purdie <richard@openedhand.com>2008-08-12 15:12:37 +0000
commit7e2a8ebf41859fb685e80f78bc4a5ca2f423f14d (patch)
tree594a55f3c7a7e08c7f627db89938d56b1097077f /meta/packages/portmap
parent244474d7e064e4479127451e083782c117bf363e (diff)
downloadpoky-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-xmeta/packages/portmap/files/portmap.init11
-rw-r--r--meta/packages/portmap/portmap_6.0.bb2
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
19case "$1" in 19case "$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 @@
1require portmap.inc 1require portmap.inc
2 2
3PR = "r2" 3PR = "r3"
4 4
5SRC_URI = "http://neil.brown.name/portmap/portmap-6.0.tgz \ 5SRC_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 \