* [Buildroot] [PATCH 1/2] ntp: fix undefined variable in error print
@ 2014-08-20 1:20 Danomi Manchego
2014-08-20 1:20 ` [Buildroot] [PATCH 2/2] tvheadend: " Danomi Manchego
2014-08-21 13:23 ` [Buildroot] [PATCH 1/2] ntp: " Thomas Petazzoni
0 siblings, 2 replies; 4+ messages in thread
From: Danomi Manchego @ 2014-08-20 1:20 UTC (permalink / raw)
To: buildroot
The variable "$SCRIPTNAME" is undefined; replace with "$0".
Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
---
package/ntp/S49ntp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/ntp/S49ntp b/package/ntp/S49ntp
index 6f9ec75..5721f59 100755
--- a/package/ntp/S49ntp
+++ b/package/ntp/S49ntp
@@ -36,7 +36,7 @@ case "$1" in
sleep 1
$0 start
;;
- *) echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2
+ *) echo "Usage: $0 {start|stop|restart|reload|force-reload}" >&2
exit 1
;;
esac
--
1.7.9.5
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 2/2] tvheadend: fix undefined variable in error print
2014-08-20 1:20 [Buildroot] [PATCH 1/2] ntp: fix undefined variable in error print Danomi Manchego
@ 2014-08-20 1:20 ` Danomi Manchego
2014-08-21 10:08 ` Yann E. MORIN
2014-08-21 13:23 ` [Buildroot] [PATCH 1/2] ntp: " Thomas Petazzoni
1 sibling, 1 reply; 4+ messages in thread
From: Danomi Manchego @ 2014-08-20 1:20 UTC (permalink / raw)
To: buildroot
The variable "$SCRIPTNAME" is undefined; replace with "$0".
Also, fix "Stopping" spelling.
Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
---
package/tvheadend/S99tvheadend | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/tvheadend/S99tvheadend b/package/tvheadend/S99tvheadend
index c29e32d..75b66f3 100644
--- a/package/tvheadend/S99tvheadend
+++ b/package/tvheadend/S99tvheadend
@@ -31,7 +31,7 @@ case "$1" in
fi
;;
stop)
- printf "Stoping TVHeadend daemon: "
+ printf "Stopping TVHeadend daemon: "
start-stop-daemon -K -q -p ${PIDFILE} -s TERM
sleep 2
if start-stop-daemon -K -q -p ${PIDFILE} -t; then
@@ -46,7 +46,7 @@ case "$1" in
"${0}" start
;;
*)
- echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2
+ echo "Usage: $0 {start|stop|restart|force-reload}" >&2
exit 1
;;
esac
--
1.7.9.5
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 2/2] tvheadend: fix undefined variable in error print
2014-08-20 1:20 ` [Buildroot] [PATCH 2/2] tvheadend: " Danomi Manchego
@ 2014-08-21 10:08 ` Yann E. MORIN
0 siblings, 0 replies; 4+ messages in thread
From: Yann E. MORIN @ 2014-08-21 10:08 UTC (permalink / raw)
To: buildroot
Danomi, All,
On 2014-08-19 21:20 -0400, Danomi Manchego spake thusly:
> The variable "$SCRIPTNAME" is undefined; replace with "$0".
>
> Also, fix "Stopping" spelling.
>
> Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Regards,
Yann E. MORIN.
> ---
> package/tvheadend/S99tvheadend | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/package/tvheadend/S99tvheadend b/package/tvheadend/S99tvheadend
> index c29e32d..75b66f3 100644
> --- a/package/tvheadend/S99tvheadend
> +++ b/package/tvheadend/S99tvheadend
> @@ -31,7 +31,7 @@ case "$1" in
> fi
> ;;
> stop)
> - printf "Stoping TVHeadend daemon: "
> + printf "Stopping TVHeadend daemon: "
> start-stop-daemon -K -q -p ${PIDFILE} -s TERM
> sleep 2
> if start-stop-daemon -K -q -p ${PIDFILE} -t; then
> @@ -46,7 +46,7 @@ case "$1" in
> "${0}" start
> ;;
> *)
> - echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2
> + echo "Usage: $0 {start|stop|restart|force-reload}" >&2
> exit 1
> ;;
> esac
> --
> 1.7.9.5
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 1/2] ntp: fix undefined variable in error print
2014-08-20 1:20 [Buildroot] [PATCH 1/2] ntp: fix undefined variable in error print Danomi Manchego
2014-08-20 1:20 ` [Buildroot] [PATCH 2/2] tvheadend: " Danomi Manchego
@ 2014-08-21 13:23 ` Thomas Petazzoni
1 sibling, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2014-08-21 13:23 UTC (permalink / raw)
To: buildroot
Dear Danomi Manchego,
On Tue, 19 Aug 2014 21:20:46 -0400, Danomi Manchego wrote:
> The variable "$SCRIPTNAME" is undefined; replace with "$0".
>
> Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
> ---
> package/ntp/S49ntp | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
This patch, and the similar patch for tvheadend, applied.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-08-21 13:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-20 1:20 [Buildroot] [PATCH 1/2] ntp: fix undefined variable in error print Danomi Manchego
2014-08-20 1:20 ` [Buildroot] [PATCH 2/2] tvheadend: " Danomi Manchego
2014-08-21 10:08 ` Yann E. MORIN
2014-08-21 13:23 ` [Buildroot] [PATCH 1/2] ntp: " Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.