Можно исправить ukmstart.sh и уже в нём явно указывать сервер при запуске cashmain.
10.72.2.5#./cashmain --help
Allowed options:
-h [ --help ] Usage: ukmclient [<options>]
-h or --help display
this help screen
-l [ --local ] -l or --local local mode
(without server)
-c [ --clean ] -c or --clean clean POS
-p [ --port ] arg -p<value> or --port=<value> broadcast
for server search
where: <value> is UDP broadcast port, default 1234
-a [ --addr ] arg -a<host> or --addr=<host> use
another MySQL server
-u [ --user ] arg -u<user> or --user=<user> user name
of MySQL server
-P [ --password ] arg -P<password> or --password=<password>
password of MySQL server
-r [ --run ] run option
-b [ --base ] arg -b<database> or --base=<database> use
another database
-s [ --server ] arg -s<address of server> or --server=<address
of server> use specific address
-z [ --mysql_port ] arg --mysql_port=nnn
--log-add arg add logger item
--log-remove arg remove logger item