|
|
@ -61,9 +61,34 @@ log 'Configuring Logger ...' |
|
|
|
draw_progress_bar 85 |
|
|
|
log 'Copying rules to udev ...' |
|
|
|
sudo cp -r src/rules/* /usr/lib/udev/rules.d |
|
|
|
sudo cp src/rules/90-usb-storage.rules /etc/udev/rules.d |
|
|
|
sudo cp src/rules/90-dvd-storage.rules /etc/udev/rules.d |
|
|
|
sudo udevadm control --reload-rules |
|
|
|
sudo udevadm trigger |
|
|
|
|
|
|
|
draw_progress_bar 90 |
|
|
|
sudo cp src/scripts/utils/usb/usb-storage-action /usr/local/bin/ |
|
|
|
sudo chmod +x /usr/local/bin/usb-storage-action |
|
|
|
sudo cp src/scripts/utils/usb/addUsbScript.sh /usr/local/bin/ |
|
|
|
sudo chmod +x /usr/local/bin/addUsbScript.sh |
|
|
|
sudo cp src/scripts/utils/usb/usb-socket-sono.socket /etc/systemd/system |
|
|
|
sudo cp src/scripts/utils/usb/usb-socket-sono.service /etc/systemd/system |
|
|
|
sudo systemctl enable usb-socket-sono.socket |
|
|
|
sudo systemctl enable usb-socket-sono.service |
|
|
|
sudo systemctl start usb-socket-sono.socket |
|
|
|
sudo systemctl start usb-socket-sono.service |
|
|
|
|
|
|
|
sudo cp src/scripts/utils/dvd/dvd-storage-action /usr/local/bin/ |
|
|
|
sudo chmod +x /usr/local/bin/dvd-storage-action |
|
|
|
sudo cp src/scripts/utils/dvd/addDvdScript.sh /usr/local/bin/ |
|
|
|
sudo chmod +x /usr/local/bin/addDvdScript.sh |
|
|
|
sudo cp src/scripts/utils/dvd/dvd-socket-sono.socket /etc/systemd/system |
|
|
|
sudo cp src/scripts/utils/dvd/dvd-socket-sono.service /etc/systemd/system |
|
|
|
sudo systemctl enable dvd-socket-sono.socket |
|
|
|
sudo systemctl enable dvd-socket-sono.service |
|
|
|
sudo systemctl start dvd-socket-sono.socket |
|
|
|
sudo systemctl start dvd-socket-sono.service |
|
|
|
|
|
|
|
|
|
|
|
draw_progress_bar 95 |
|
|
|
log 'Install PCIE Driver' |
|
|
|