# apt install libqt4-xml libqt4-network -y
# mkdir -p /etc/ATOL/EoU
для 64 битной системы:
# ln -sf /lib/x86_64-linux-gnu/libudev.so.1 /lib/x86_64-linux-gnu/libudev.so.0
для 32 битной системы:
# ln -sf /lib/i386-linux-gnu/libudev.so.1 /lib/i386-linux-gnu/libudev.so.0
# mcedit /etc/systemd/system/eou.service
# mcedit /etc/systemd/system/eou.service
#----
[Unit]
Description=запуск сервиса EthernetOverUsb
[Service]
Type=forking
User=root
ExecStart=/home/user/Archive/EoU/EthOverUsb.sh
ExecStop=/home/user/Archive/EoU/EthOverUsb.sh -t
[Install]
WantedBy=multi-user.target
#----
# systemctl daemon-reload
# systemctl enable eou.service
# systemctl start eou.service
# systemctl status eou.service
[Unit]
Description=запуск сервиса EthernetOverUsb
[Service]
Type=forking
User=root
ExecStart=/home/user/Archive/EoU/EthOverUsb.sh
ExecStop=/home/user/Archive/EoU/EthOverUsb.sh -t
Restart=on-failure
RestartSec=5s
WantedBy=multi-user.target
#----
# systemctl daemon-reload
# systemctl enable eou.service
# systemctl start eou.service
# systemctl status eou.service