portmap: Remove uneeded initscript forks

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5059 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Richard Purdie
2008-08-12 15:12:37 +00:00
parent 244474d7e0
commit 7e2a8ebf41
2 changed files with 5 additions and 8 deletions

View File

@@ -18,13 +18,11 @@ test -f /sbin/portmap || exit 0
case "$1" in
start)
echo -n "Starting portmap daemon:"
echo -n " portmap"
echo "Starting portmap daemon..."
start-stop-daemon --start --quiet --exec /sbin/portmap
echo "."
if [ -f /var/run/portmap.upgrade-state ]; then
echo -n "Restoring old RPC service information..."
echo "Restoring old RPC service information..."
sleep 1 # needs a short pause or pmap_set won't work. :(
pmap_set </var/run/portmap.upgrade-state
rm -f /var/run/portmap.upgrade-state
@@ -33,9 +31,8 @@ case "$1" in
;;
stop)
echo -n "Stopping portmap daemon:"
echo -n " portmap" ; start-stop-daemon --stop --quiet --exec /sbin/portmap
echo "."
echo "Stopping portmap daemon..."
start-stop-daemon --stop --quiet --exec /sbin/portmap
;;
reload)
;;

View File

@@ -1,6 +1,6 @@
require portmap.inc
PR = "r2"
PR = "r3"
SRC_URI = "http://neil.brown.name/portmap/portmap-6.0.tgz \
file://destdir-no-strip.patch;patch=1 \