Combine Dependencies; Other Improvements

-Removed CPU intensive python based telnet server option
-Removed Micropython
-Renamed AT Telnet Daemon socat-at bridge
-Moved TTL related files not part of the www/cgi-bin directory to /simplefirewall
-Improved Simplefirewall menu, added ability to change TTL
-Combined uninstall and install functions for simpleadmin and dependencies into single functions
This commit is contained in:
iamromulan
2024-02-20 23:44:05 -05:00
parent c83f703da6
commit 780590bfa5
31 changed files with 288 additions and 1767 deletions

View File

@@ -0,0 +1,14 @@
[Unit]
Description=Read from /dev/ttyIN and write to smd11
BindsTo=socat-smd11.service
After=socat-smd11.service
[Service]
ExecStart=/bin/bash -c "/bin/cat /dev/ttyIN > /dev/smd11"
ExecStartPost=/bin/sleep 2s
StandardInput=tty-force
Restart=always
RestartSec=1s
[Install]
WantedBy=multi-user.target

View File

@@ -0,0 +1,14 @@
[Unit]
Description=Read from /dev/smd11 and write to ttyIN
BindsTo=socat-smd11.service
After=socat-smd11.service
[Service]
ExecStart=/bin/bash -c "/bin/cat /dev/smd11 > /dev/ttyIN"
ExecStartPost=/bin/sleep 2s
StandardInput=tty-force
Restart=always
RestartSec=1s
[Install]
WantedBy=multi-user.target

View File

@@ -0,0 +1,13 @@
[Unit]
Description=Socat Serial Emulation for smd11
After=ql-netd.service
[Service]
ExecStart=/usrdata/at-telnet/socat-armel-static -d -d pty,link=/dev/ttyIN,raw,echo=0 pty,link=/dev/ttyOUT,raw,echo=1
# Add a delay to prevent the clients from starting too early
ExecStartPost=/bin/sleep 2s
Restart=always
RestartSec=1s
[Install]
WantedBy=multi-user.target