forked from acouzens/open5gs
[#305] name changes
This commit is contained in:
parent
8639c0f43c
commit
71f54a4500
|
@ -1,9 +1,9 @@
|
|||
|
||||
* Network Configuration
|
||||
$ sudo ./misc/network/restart.sh
|
||||
|
||||
* Generate Key & Cert for Diameter
|
||||
$ ./misc/ssl/make_certs.sh ./freeDiameter
|
||||
$ sudo ./misc/netconf.sh
|
||||
|
||||
* Add/Update/Remove A User
|
||||
$ ./misc/mongodb/open5gs_conf
|
||||
$ ./misc/dbconf.sh
|
||||
|
||||
* Generate Key & Cert for Diameter
|
||||
$ ./misc/make_certs.sh ./freeDiameter
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
version=0.9.0
|
||||
|
||||
display_help() {
|
||||
echo "open5gs_conf: Open5Gs Database Configuration Tool ($version)"
|
||||
echo "dbconf.sh: Open5GS Database Configuration Tool ($version)"
|
||||
echo "COMMANDS:" >&2
|
||||
echo " add {imsi key opc}: adds a user to the database with default values"
|
||||
echo " remove {imsi}: removes a user from the database"
|
||||
|
@ -25,7 +25,7 @@ fi
|
|||
|
||||
if [ "$1" = "add" ]; then
|
||||
if [ "$#" -ne 4 ]; then
|
||||
echo "open5gs_conf: incorrect number of args, format is \"open5gs_conf add imsi key opc\""
|
||||
echo "dbconf.sh: incorrect number of args, format is \"dbconf.sh add imsi key opc\""
|
||||
exit 1
|
||||
fi
|
||||
IMSI=$2
|
||||
|
@ -38,7 +38,7 @@ fi
|
|||
|
||||
if [ "$1" = "remove" ]; then
|
||||
if [ "$#" -ne 2 ]; then
|
||||
echo "open5gs_conf: incorrect number of args, format is \"open5gs_conf remove imsi\""
|
||||
echo "dbconf.sh: incorrect number of args, format is \"dbconf.sh remove imsi\""
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
@ -49,7 +49,7 @@ fi
|
|||
|
||||
if [ "$1" = "reset" ]; then
|
||||
if [ "$#" -ne 1 ]; then
|
||||
echo "open5gs_conf: incorrect number of args, format is \"open5gs_conf reset\""
|
||||
echo "dbconf.sh: incorrect number of args, format is \"dbconf.sh reset\""
|
||||
exit 1
|
||||
fi
|
||||
|
Loading…
Reference in New Issue