diff mbox

[v2] dbus: remove init script status op

Message ID 9db6a8643a625337a6b477efd537a9245a26f594.1485982122.git.baruch@tkos.co.il
State Accepted
Headers show

Commit Message

Baruch Siach Feb. 1, 2017, 8:48 p.m. UTC
The status command calls the Upstrat status utility which we don't have.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
v2: Correct the commit log (Thomas P)
---
 package/dbus/S30dbus | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

Comments

Peter Seiderer Feb. 1, 2017, 9:06 p.m. UTC | #1
Hello Baruch,

On Wed,  1 Feb 2017 22:48:42 +0200, Baruch Siach <baruch@tkos.co.il> wrote:

> The status command calls the Upstrat status utility which we don't have.

Minor typo, s/Upstrat/Upstart/...

Regards,
Peter


> 
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
> v2: Correct the commit log (Thomas P)
> ---
>  package/dbus/S30dbus | 6 +-----
>  1 file changed, 1 insertion(+), 5 deletions(-)
> 
> diff --git a/package/dbus/S30dbus b/package/dbus/S30dbus
> index 4427b5c72c0a..b4bcf9c7aa9a 100644
> --- a/package/dbus/S30dbus
> +++ b/package/dbus/S30dbus
> @@ -53,10 +53,6 @@ case "$1" in
>      stop)
>          stop
>          ;;
> -    status)
> -        status $processname
> -        RETVAL=$?
> -        ;;
>      restart)
>          stop
>          start
> @@ -72,7 +68,7 @@ case "$1" in
>          RETVAL=$?
>          ;;
>      *)
> -        echo "Usage: $0 {start|stop|status|restart|condrestart|reload}"
> +        echo "Usage: $0 {start|stop|restart|condrestart|reload}"
>          ;;
>  esac
>  exit $RETVAL
Thomas Petazzoni Feb. 1, 2017, 9:13 p.m. UTC | #2
Hello,

On Wed,  1 Feb 2017 22:48:42 +0200, Baruch Siach wrote:
> The status command calls the Upstrat status utility which we don't have.
> 
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
> v2: Correct the commit log (Thomas P)
> ---
>  package/dbus/S30dbus | 6 +-----
>  1 file changed, 1 insertion(+), 5 deletions(-)

Applied to master, after fixing the typo in the commit log, as noticed
by Peter Seiderer.

Thanks,

Thomas
diff mbox

Patch

diff --git a/package/dbus/S30dbus b/package/dbus/S30dbus
index 4427b5c72c0a..b4bcf9c7aa9a 100644
--- a/package/dbus/S30dbus
+++ b/package/dbus/S30dbus
@@ -53,10 +53,6 @@  case "$1" in
     stop)
         stop
         ;;
-    status)
-        status $processname
-        RETVAL=$?
-        ;;
     restart)
         stop
         start
@@ -72,7 +68,7 @@  case "$1" in
         RETVAL=$?
         ;;
     *)
-        echo "Usage: $0 {start|stop|status|restart|condrestart|reload}"
+        echo "Usage: $0 {start|stop|restart|condrestart|reload}"
         ;;
 esac
 exit $RETVAL