Contents of /mcore-src/tags/mcore-tools-1_0_5/src/mcore-register-client.in
Parent Directory | Revision Log
Revision 2911 -
(show annotations)
(download)
Fri Sep 15 09:55:18 2023 UTC (9 months ago) by niro
File size: 372 byte(s)
Fri Sep 15 09:55:18 2023 UTC (9 months ago) by niro
File size: 372 byte(s)
tagged 'mcore-tools-1_0_5'
1 | #!/bin/bash |
2 | |
3 | MCORE_LIBDIR="@@MCORE_LIBDIR@@" |
4 | source @@SYSCONFDIR@@/mcore/mcore.conf |
5 | source ${MCORE_LIBDIR}/include/common.global.class |
6 | source ${MCORE_LIBDIR}/include/register.global.class |
7 | |
8 | SSLSAY_IP="$(mcore-controlserver)" |
9 | SSLSAY_PORT="6666" |
10 | register_client |
11 | |
12 | if [[ -z $(mcore-serial) ]] || [[ $(mcore-serial) = UNKNOWN ]] |
13 | then |
14 | RETVAL=1 |
15 | else |
16 | RETVAL=0 |
17 | fi |
18 | |
19 | exit ${RETVAL} |