|
# /etc/systemd/system/wlan2eth.service
|
|
[Unit]
|
|
Description=wlan2eth
|
|
Wants=basic.target
|
|
After=basic.target network.target
|
|
|
|
[Service]
|
|
SyslogIdentifier=wlan2eth
|
|
ExecStart=/bin/bash /opt/wlan2eth/wlan2eth.sh
|
|
Restart=always
|
|
RestartSec=2
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|