This commit is contained in:
Charlie Root 2020-06-12 06:46:07 +09:00
commit 1b068d6ca9
5 changed files with 40 additions and 4 deletions

View file

@ -136,4 +136,4 @@ Pay attention, the XLX Server acts as an YSF Master, which provides 26 wires-x r
It has nothing to do with the regular YSFReflector network, hence you dont need to register your XLX at ysfreflector.de ! It has nothing to do with the regular YSFReflector network, hence you dont need to register your XLX at ysfreflector.de !
© 2016 Jean-Luc Deltombe and Luc Engelmann LX1IQ © 2016 Jean-Luc Deltombe (LX3JL) and Luc Engelmann (LX1IQ)

View file

@ -82,7 +82,7 @@ Djibouti;DJ;J2
Dodecanese;GR;SV5-J45 Dodecanese;GR;SV5-J45
Dominica;DM;J7 Dominica;DM;J7
Dominican Republic;DO;HI Dominican Republic;DO;HI
East Malaysia;MY;9M6-9M8 East Malaysia;MY;9M6-9M8-9W6-9W8
Easter Island;CL;CE0 Easter Island;CL;CE0
Eastern Kiribati (Line Island);KI;T32 Eastern Kiribati (Line Island);KI;T32
Ecuador;EC;HC-HD Ecuador;EC;HC-HD
@ -299,7 +299,7 @@ Virgin Islands U.S.;VI;KP2
Wake Island;US;KH9 Wake Island;US;KH9
Wales;WL;2W-GC-GW-MW Wales;WL;2W-GC-GW-MW
Wallis and Futuna;WF;FW Wallis and Futuna;WF;FW
West Malaysia;MY;9M2-9M4-9W2 West Malaysia;MY;9M2-9M4-9W2-9W4
Western Kiribati (Gilbert Island);KI;T30 Western Kiribati (Gilbert Island);KI;T30
Western Sahara;EH;S0 Western Sahara;EH;S0
Willis Island;AU;VK9W Willis Island;AU;VK9W

1 Afghanistan AF YA-T6
82 Dodecanese GR SV5-J45
83 Dominica DM J7
84 Dominican Republic DO HI
85 East Malaysia MY 9M6-9M8 9M6-9M8-9W6-9W8
86 Easter Island CL CE0
87 Eastern Kiribati (Line Island) KI T32
88 Ecuador EC HC-HD
299 Wake Island US KH9
300 Wales WL 2W-GC-GW-MW
301 Wallis and Futuna WF FW
302 West Malaysia MY 9M2-9M4-9W2 9M2-9M4-9W2-9W4
303 Western Kiribati (Gilbert Island) KI T30
304 Western Sahara EH S0
305 Willis Island AU VK9W

15
scripts/ambed.service Normal file
View file

@ -0,0 +1,15 @@
[Unit]
Description=AMBE Transcoder Daemon
After=network.target
[Service]
Type=simple
User=root
Group=root
ExecStartPre=-/sbin/rmmod ftdi_sio
ExecStartPre=-/sbin/rmmod usb_serial
ExecStart=/ambed/ambed 127.0.0.1
Restart=on-abnormal
[Install]
WantedBy=multi-user.target

View file

@ -0,0 +1,20 @@
*************************************************
*copy xlxd into /etc.init.d/
*copy ambed.service into /etc/systemd/system/
*
*************************************************
* xlxd executable must be in /xlxd/ folder
* ambed executable must be in /ambed/ folder
*
*************************************************
* possible options:
*
* #systemctl start ambed /starts ambed
* #systemctl status ambed /shows status of ambed
* #systemctl stop ambed /stops ambed
* # systemctl restart ambed /restarts ambed
*
* automatically get it to start on boot:
* #systemctl enable ambed
*
*************************************************

View file

@ -38,7 +38,8 @@ bool CUdpMsgSocket::Open(uint16 uiPort)
struct sockaddr_storage *ss; struct sockaddr_storage *ss;
socklen_t ss_len; socklen_t ss_len;
if ( !CUdpSocket::Open(uiPort) ) { if ( !CUdpSocket::Open(uiPort) )
{
return false; return false;
} }