#!/bin/env bash sudo cp -r src/rules/* /etc/udev/rules.d sudo udevadm control --reload-rules sudo udevadm trigger sudo cp src/scripts/utils/usb/usb-storage-action.sh /usr/local/bin/ sudo chmod +x /usr/local/bin/usb-storage-action.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 start usb-socket-sono.socket sudo cp src/scripts/utils/dvd/dvd-storage-action.sh /usr/local/bin/ sudo chmod +x /usr/local/bin/dvd-storage-action.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 start dvd-socket-sono.socket