From 8dfe6f1993df8e9130190227f9562c49c6e3d6be Mon Sep 17 00:00:00 2001 From: Alton MacDonald Date: Thu, 31 Oct 2013 13:46:57 +0100 Subject: added unit tests and updated documentation --- osmocom-oohmi | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 osmocom-oohmi (limited to 'osmocom-oohmi') diff --git a/osmocom-oohmi b/osmocom-oohmi new file mode 100755 index 0000000..10bfff8 --- /dev/null +++ b/osmocom-oohmi @@ -0,0 +1,23 @@ +#! /bin/sh +### BEGIN INIT INFO +# Provides: osmo-oohmi +# Required-Start: $network $local_fs +# Required-Stop: +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: OpenBSC and OsmoSGSN HLR Management Interface +# Description: Web Management interface for OpenBSC, OsmoSGSN, GGSN, Asterisk and LCR services. +### END INIT INFO +cd /etc/openbsc/ +case "$1" in + start) + /usr/local/bin/pserve production.ini start ;; + stop) + /usr/local/bin/pserve production.ini stop ;; + restart) + /usr/local/bin/pserve production.ini restart ;; + *) + echo "Usage: $0 {start|stop|restart}" + exit 1 ;; +esac +exit 0 -- cgit v1.2.3