0001-Adding-status-command-to-be-LSB-compliant.patch
share/etc/init.d/one.debian | ||
---|---|---|
64 | 64 |
2) [ "$VERBOSE" != no ] && log_end_msg 1 ;; |
65 | 65 |
esac |
66 | 66 |
;; |
67 |
status) |
|
68 |
status_of_proc "oned" "$NAME" && exit 0 || exit $? |
|
69 |
;; |
|
67 | 70 |
restart|force-reload) |
68 | 71 |
# |
69 | 72 |
# If the "reload" option is implemented then remove the |
... | ... | |
87 | 90 |
esac |
88 | 91 |
;; |
89 | 92 |
*) |
90 |
echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2 |
|
93 |
echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload|status}" >&2
|
|
91 | 94 |
exit 3 |
92 | 95 |
;; |
93 | 96 |
esac |
share/etc/init.d/one.ubuntu | ||
---|---|---|
64 | 64 |
2) [ "$VERBOSE" != no ] && log_end_msg 1 ;; |
65 | 65 |
esac |
66 | 66 |
;; |
67 |
status) |
|
68 |
status_of_proc "oned" "$NAME" && exit 0 || exit $? |
|
69 |
;; |
|
67 | 70 |
restart|force-reload) |
68 | 71 |
# |
69 | 72 |
# If the "reload" option is implemented then remove the |
... | ... | |
87 | 90 |
esac |
88 | 91 |
;; |
89 | 92 |
*) |
90 |
echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2 |
|
93 |
echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload|status}" >&2
|
|
91 | 94 |
exit 3 |
92 | 95 |
;; |
93 | 96 |
esac |
94 |
- |