first commit
This commit is contained in:
parent
01b2719ec3
commit
ea8cda6cbb
Binary file not shown.
|
@ -4,7 +4,7 @@ sudo mkdir -p /etc/sdt/device-control
|
||||||
sudo cp config.yaml /etc/sdt/device-control
|
sudo cp config.yaml /etc/sdt/device-control
|
||||||
sudo sed -i "s/acode/$1/g" /etc/sdt/device-control/config.yaml
|
sudo sed -i "s/acode/$1/g" /etc/sdt/device-control/config.yaml
|
||||||
sudo sed -i "s/typecode/$2/g" /etc/sdt/device-control/config.yaml
|
sudo sed -i "s/typecode/$2/g" /etc/sdt/device-control/config.yaml
|
||||||
sudo cp device-control /usr/local/bin/
|
sudo cp device-control /usr/bin/
|
||||||
sudo cp device-control.service /etc/systemd/system/
|
sudo cp device-control.service /etc/systemd/system/
|
||||||
sudo systemctl start device-control
|
sudo systemctl start device-control
|
||||||
sudo systemctl enable device-control
|
sudo systemctl enable device-control
|
Loading…
Reference in New Issue