diff --git a/userpatches/customize-image.sh b/userpatches/customize-image.sh index 8d1a19b..43618b1 100644 --- a/userpatches/customize-image.sh +++ b/userpatches/customize-image.sh @@ -81,7 +81,6 @@ Main() { chmod +x /root/x6100_cat_mux systemctl enable x6100_cat_mux.service - systemctl enable rigctld_socat.service systemctl enable rigctld.service systemctl enable usbc_port_cat.service diff --git a/userpatches/overlay/etc/systemd/system/rigctld.service b/userpatches/overlay/etc/systemd/system/rigctld.service index 1eb5bc8..8fb9518 100644 --- a/userpatches/overlay/etc/systemd/system/rigctld.service +++ b/userpatches/overlay/etc/systemd/system/rigctld.service @@ -1,13 +1,12 @@ [Unit] Description=Hamlib rigctld Requires=x6100_socat_cat.service -Requires=rigctld_socat.service Requires=x6100_cat_mux.service Requires=x6100_app.service [Service] User=root -ExecStart=/usr/bin/rigctld --model=3087 --rig-file=/dev/ttyX6100Cat +ExecStart=/usr/bin/rigctld --model=3087 --rig-file=127.0.0.1:9090 Restart=on-failure [Install] diff --git a/userpatches/overlay/etc/systemd/system/rigctld_socat.service b/userpatches/overlay/etc/systemd/system/rigctld_socat.service deleted file mode 100644 index 99b05cb..0000000 --- a/userpatches/overlay/etc/systemd/system/rigctld_socat.service +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=Hamlib rigctld socat -Requires=x6100_socat_cat.service -Requires=x6100_cat_mux.service - -[Service] -User=root -ExecStart=/usr/bin/socat pty,link=/dev/ttyX6100Cat,raw,echo=0 tcp:127.0.0.1:9090 -Restart=on-failure - -[Install] -WantedBy=multi-user.target \ No newline at end of file