Formatierung korrigiert
This commit is contained in:
@@ -42,14 +42,21 @@ Found I2C device /dev/i2c-0
|
||||
root@UNO:~/unas/ugreen_dx4600_leds_controller/scripts# ls
|
||||
ugreen-diskiomon ugreen-leds.conf ugreen-netdevmon@.service
|
||||
ugreen-diskiomon.service ugreen-netdevmon ugreen-probe-leds
|
||||
```
|
||||
10. move the scripts to `/usr/bin`
|
||||
```
|
||||
root@UNO:~/unas/ugreen_dx4600_leds_controller/scripts# for f in ${scripts[@]}; do
|
||||
chmod +x "scripts/$f"
|
||||
cp "scripts/$f" /usr/bin
|
||||
done
|
||||
root@UNO:~/unas/ugreen_dx4600_leds_controller/scripts# cp scripts/ugreen-leds.conf /etc/ugreen-leds.conf
|
||||
cp: cannot stat 'scripts/ugreen-leds.conf': No such file or directory
|
||||
```
|
||||
11. copy the config-files
|
||||
```
|
||||
root@UNO:~/unas/ugreen_dx4600_leds_controller/scripts# cp ugreen-leds.conf /etc/ugreen-leds.conf
|
||||
root@UNO:~/unas/ugreen_dx4600_leds_controller/scripts# cp *.service /etc/systemd/system/
|
||||
```
|
||||
12. prepare the services (please be sure to replace `enp88s0` with the ethernetport that you want to monitor)
|
||||
```
|
||||
root@UNO:~/unas/ugreen_dx4600_leds_controller/scripts# systemctl daemon-reload
|
||||
root@UNO:~/unas/ugreen_dx4600_leds_controller/scripts# systemctl start ugreen-netdevmon@enp88s0
|
||||
root@UNO:~/unas/ugreen_dx4600_leds_controller/scripts# systemctl start ugreen-diskiomon
|
||||
@@ -57,7 +64,6 @@ root@UNO:~/unas/ugreen_dx4600_leds_controller/scripts# systemctl enable ugreen-d
|
||||
Created symlink /etc/systemd/system/multi-user.target.wants/ugreen-diskiomon.service → /etc/systemd/system/ugreen-diskiomon.service.
|
||||
root@UNO:~/unas/ugreen_dx4600_leds_controller/scripts# systemctl enable ugreen-netdevmon@enp88s0
|
||||
Created symlink /etc/systemd/system/multi-user.target.wants/ugreen-netdevmon@enp88s0.service → /etc/systemd/system/ugreen-netdevmon@.service.
|
||||
|
||||
```
|
||||
The network LED should now be blinking if there's network activity. The software is installed on proxmox; you can configure disk LEDs.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user