tftp-hpa: fix name of /etc/default/tftp(d)-hpa
authorMarcin Juszkiewicz <marcin@juszkiewicz.com.pl>
Tue, 9 Jun 2009 15:28:44 +0000 (17:28 +0200)
committerMarcin Juszkiewicz <marcin@juszkiewicz.com.pl>
Tue, 9 Jun 2009 16:07:11 +0000 (18:07 +0200)
recipes/tftp-hpa/files/init
recipes/tftp-hpa/tftp-hpa_5.0.bb

index 2a24884..5ad8c52 100644 (file)
@@ -60,12 +60,12 @@ d_reload() {
 
 case "$1" in
   start)
-       echo -n "Starting $DESC: $NAME"
+       echo  "Starting $DESC: $NAME"
        d_start
        echo "."
        ;;
   stop)
-       echo -n "Stopping $DESC: $NAME"
+       echo  "Stopping $DESC: $NAME"
        d_stop
        echo "."
        ;;
@@ -88,7 +88,7 @@ case "$1" in
        #       option to the "reload" entry above. If not, "force-reload" is
        #       just the same as "restart".
        #
-       echo -n "Restarting $DESC: $NAME"
+       echo "Restarting $DESC: $NAME"
        d_stop
        sleep 1
        d_start
index 4137bf0..9533e01 100644 (file)
@@ -2,6 +2,7 @@ DESCRIPTION = "HPA's tftp server"
 DEPENDS = "tcp-wrappers readline"
 SECTION = "network"
 LICENSE = "BSD"
+PR = "r1"
 
 SRC_URI = "${KERNELORG_MIRROR}/pub/software/network/tftp/tftp-hpa-${PV}.tar.bz2 \
            file://default \
@@ -22,7 +23,7 @@ do_install() {
        install -d ${D}${sysconfdir}/default
        install -d ${D}${sysconfdir}/init.d
 
-       install -m 0644 ${WORKDIR}/default ${D}${sysconfdir}/default/tftp-hpa
+       install -m 0644 ${WORKDIR}/default ${D}${sysconfdir}/default/tftpd-hpa
        install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/tftp-hpa
 }
 
@@ -34,7 +35,7 @@ PACKAGES += "tftpd-hpa"
 
 FILES_${PN} = "${bindir}"
 FILES_tftpd-hpa = "${sbindir} ${sysconfdir}"
-CONFFILES_tftpd-hpa = "${sysconfdir}/default/${PN}"
+CONFFILES_tftpd-hpa = "${sysconfdir}/default/tftpd-hpa"
 
 ALTERNATIVE_NAME = "tftp"
 ALTERNATIVE_LINK = "${bindir}/tftp"