Go to the source code of this file.
Functions | |
| Usage () | |
Variables | |
| OPTION_ADD | |
| do case $option in u | IMSUSER = $OPTARG |
| r | REALM = $OPTARG |
| p | PASSWORD = $OPTARG |
| a | OPTION_ADD = 1 |
| d | OPTION_DELETE = 1 |
| esac done &&[-z"$IMSUSER"] Usage &&[-z"$PASSWORD"] | PASSWORD |
| && | Usage |
| KEY | |
| then echo Failed to write $CREATE_SCRIPT exit fi echo Successfully wrote $CREATE_SCRIPT echo $DELETE_SCRIPT_TEMPLATE sed $SED_SCRIPT $DELETE_SCRIPT | if [$?-ne 0] |
| Usage | ( | ) |
Definition at line 45 of file add-imscore-user.sh.
00046 { 00047 echo "ERROR: Invalid parameters" 00048 echo "add-imscore-user.sh -u <user> [-r <realm> -p <password>] [-a|-d]" 00049 echo " -u <user>: The username (e.g. 'brooke')" 00050 echo " -r <realm>: The realm. Default is 'open-ims.test'" 00051 echo " -p <password>: The password. Default is value of -u option" 00052 echo " -a: Automatically apply created add script (script will not be deleted afterwards)" 00053 echo " -d: Automatically apply created delete script (script will be deleted afterwards)" 00054 exit -1 00055 }
Initial value:
0 OPTION_DELETE=0 SCRIPT= EXIT_CODE=0 DBUSER=root while getopts u:r:p:o:ad? option
Definition at line 57 of file add-imscore-user.sh.
Definition at line 66 of file add-imscore-user.sh.
| r REALM = $OPTARG |
Definition at line 67 of file add-imscore-user.sh.
| p PASSWORD = $OPTARG |
Definition at line 68 of file add-imscore-user.sh.
| a OPTION_ADD = 1 |
Definition at line 69 of file add-imscore-user.sh.
| d OPTION_DELETE = 1 |
Definition at line 70 of file add-imscore-user.sh.
| esac done&& [ -z "$IMSUSER" ] Usage&& [ -z "$PASSWORD" ] PASSWORD |
Initial value:
$IMSUSER [ -z "$REALM" ] && REALM=open-ims.test [ $OPTION_ADD -eq 1 ] && [ $OPTION_DELETE -eq 1 ] && Usage
Definition at line 75 of file add-imscore-user.sh.
| && Usage |
Definition at line 80 of file add-imscore-user.sh.
Definition at line 82 of file add-imscore-user.sh.
| then echo Failed to write DELETE_SCRIPT exit fi fi echo DELETE_IMPI_TEMPLATE sed SED_SCRIPT DELETE_SCRIPT echo Successfully wrote DELETE_SCRIPT if |
Definition at line 150 of file add-imscore-user.sh.
Referenced by base64_decode(), bin_decode_filter_criteria(), bin_decode_p_dialog(), bin_decode_r_contact(), bin_decode_service_profile(), bin_encode_filter_criteria(), bin_encode_p_dialog(), bin_encode_r_contact(), bin_encode_service_profile(), blockDecrypt(), blockEncrypt(), cscf_get_contact(), cscf_get_expires_hdr(), cscf_get_first_p_associated_uri(), cscf_get_integrity_protected(), cscf_get_realm_from_uri(), cscf_get_session_expires(), Cx_PPA(), dialog_timer(), Elect(), find_credentials_noparse(), free_dp_config(), free_r_contact(), free_user_data(), get_first_connected_route(), I_NDS_strip_headers(), I_originating(), icscf_db_get_nds(), icscf_db_get_scscf(), insert_p_associated_uri(), isc_check_filter_criteria(), isc_mark_get(), ISC_match_filter(), log_dp_config(), makeKey(), matchesEarlyIMSIP(), P_add_integrity_protected(), P_drop_all_dialogs(), P_follows_service_routes(), P_remove_header_tag(), peer_manager_init(), print_r(), print_user_data(), Process_CER(), r_private_expire(), reg_await_timer(), registrar_timer(), S_add_p_asserted_identity(), S_can_subscribe(), S_drop_all_dialogs(), S_mobile_originating(), select_rtpp_node(), Snd_CE_add_applications(), and update_contacts().
1.5.2