fix more initscript screwups
authorPhil Blundell <philb@gnu.org>
Sat, 18 Sep 2004 22:22:14 +0000 (22:22 +0000)
committerPhil Blundell <philb@gnu.org>
Sat, 18 Sep 2004 22:22:14 +0000 (22:22 +0000)
BKrev: 414cb516ivAfygw7EH2QhW2mEZdwrg

portmap/portmap_5-4.oe

index 992613c..f4197e2 100644 (file)
@@ -8,7 +8,7 @@ SRC_URI = "http://www.uk.debian.org/debian/pool/main/p/portmap/portmap_5.orig.ta
 S = "${WORKDIR}/portmap_5beta"
 
 INITSCRIPT_NAME = "portmap"
-INITSCRIPT_PARAMS = "43 S . start 32 0 6 . start 18 2 3 4 5 . stop 81 1 ."
+INITSCRIPT_PARAMS = "start 43 S . start 32 0 6 . start 18 2 3 4 5 . stop 81 1 ."
 
 inherit update-rc.d
 
@@ -20,7 +20,7 @@ do_compile() {
 
 do_install() {
        install -d ${D}/etc/init.d
-       install -m 0644 ${WORKDIR}/portmap.init ${D}/etc/init.d/portmap
+       install -m 0755 ${WORKDIR}/portmap.init ${D}/etc/init.d/portmap
        oe_runmake 'docdir=${datadir}/doc/portmap' \
                   'DESTDIR=${D}' install
 }