Merge branch 'main' of https://github.com/iamromulan/quectel-rgmii-simpleadmin-at-telnet-daemon
This commit is contained in:
@@ -54,13 +54,12 @@ install_update_at_telnet() {
|
|||||||
ln -sf /lib/systemd/system/socat-smd11.service /lib/systemd/system/multi-user.target.wants/
|
ln -sf /lib/systemd/system/socat-smd11.service /lib/systemd/system/multi-user.target.wants/
|
||||||
ln -sf /lib/systemd/system/socat-smd11-to-ttyIN.service /lib/systemd/system/multi-user.target.wants/
|
ln -sf /lib/systemd/system/socat-smd11-to-ttyIN.service /lib/systemd/system/multi-user.target.wants/
|
||||||
ln -sf /lib/systemd/system/socat-smd11-from-ttyIN.service /lib/systemd/system/multi-user.target.wants/
|
ln -sf /lib/systemd/system/socat-smd11-from-ttyIN.service /lib/systemd/system/multi-user.target.wants/
|
||||||
|
# Start Services
|
||||||
# Start Services
|
systemctl start socat-smd11
|
||||||
systemctl start socat-smd11
|
sleep 2s
|
||||||
sleep 2s
|
systemctl start socat-smd11-to-ttyIN
|
||||||
systemctl start socat-smd11-to-ttyIN
|
systemctl start socat-smd11-from-ttyIN
|
||||||
systemctl start socat-smd11-from-ttyIN
|
systemctl start at-telnet-daemon
|
||||||
systemctl start at-telnet-daemon
|
|
||||||
|
|
||||||
remount_ro
|
remount_ro
|
||||||
}
|
}
|
||||||
@@ -101,11 +100,10 @@ install_update_simple_admin() {
|
|||||||
ln -sf /lib/systemd/system/simpleadmin_httpd.service /lib/systemd/system/multi-user.target.wants/
|
ln -sf /lib/systemd/system/simpleadmin_httpd.service /lib/systemd/system/multi-user.target.wants/
|
||||||
ln -sf /lib/systemd/system/simpleadmin_generate_status.service /lib/systemd/system/multi-user.target.wants/
|
ln -sf /lib/systemd/system/simpleadmin_generate_status.service /lib/systemd/system/multi-user.target.wants/
|
||||||
ln -sf /lib/systemd/system/ttl-override.service /lib/systemd/system/multi-user.target.wants/
|
ln -sf /lib/systemd/system/ttl-override.service /lib/systemd/system/multi-user.target.wants/
|
||||||
|
# Start Services
|
||||||
# Start Services
|
systemctl start simpleadmin_generate_status
|
||||||
systemctl start simpleadmin_generate_status
|
systemctl start simpleadmin_httpd
|
||||||
systemctl start simpleadmin_httpd
|
systemctl start ttl-override
|
||||||
systemctl start ttl-override
|
|
||||||
|
|
||||||
remount_ro
|
remount_ro
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user