Skip to contentSkip to conversation

dbus: remove init script status op

PATCH New Baruch Siach 3 participants 3 messages Feb 1, 2017

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 dbus: remove init script status op

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

---
v2: Correct the commit log (Thomas P)

---
 package/dbus/S30dbus | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
package/dbus/S30dbus +1 -5
index 4427b5c72c0a..b4bcf9c7aa9a 100644
@@ -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
Signature · 1 line
2.11.0
#1 lore raw

PATCH v2 1/1 dbus: remove init script status op

Hello Baruch,

Quoted 1 line · Baruch Siach

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

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

Regards,
Peter

Quoted 32 lines

---
v2: Correct the commit log (Thomas P)

---
 package/dbus/S30dbus | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
package/dbus/S30dbus +1 -5
index 4427b5c72c0a..b4bcf9c7aa9a 100644
@@ -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
#2 lore raw

PATCH v2 1/1 dbus: remove init script status op

In reply to Baruch Siach

Hello,

Quoted 8 lines · Baruch Siach

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

---
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

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com