daily autocommit

Joshua Dye 6 years ago
parent 5428fbcc42
commit ff24da593a

@ -2190,6 +2190,7 @@ maybe chmod 0755 'systemd/system/sysinit.target.wants'
maybe chmod 0755 'systemd/system/systemd-udevd.service.d' maybe chmod 0755 'systemd/system/systemd-udevd.service.d'
maybe chmod 0644 'systemd/system/systemd-udevd.service.d/override.conf' maybe chmod 0644 'systemd/system/systemd-udevd.service.d/override.conf'
maybe chmod 0755 'systemd/system/timers.target.wants' maybe chmod 0755 'systemd/system/timers.target.wants'
maybe chmod 0644 'systemd/system/usb-mount@.service'
maybe chmod 0644 'systemd/timesyncd.conf' maybe chmod 0644 'systemd/timesyncd.conf'
maybe chmod 0755 'systemd/user' maybe chmod 0755 'systemd/user'
maybe chmod 0644 'systemd/user.conf' maybe chmod 0644 'systemd/user.conf'
@ -2207,6 +2208,7 @@ maybe chmod 0755 'udev'
maybe chmod 0755 'udev/hwdb.d' maybe chmod 0755 'udev/hwdb.d'
maybe chmod 0755 'udev/rules.d' maybe chmod 0755 'udev/rules.d'
maybe chmod 0644 'udev/rules.d/99-com.rules' maybe chmod 0644 'udev/rules.d/99-com.rules'
maybe chmod 0644 'udev/rules.d/99-local.rules'
maybe chmod 0644 'udev/udev.conf' maybe chmod 0644 'udev/udev.conf'
maybe chmod 0755 'ufw' maybe chmod 0755 'ufw'
maybe chmod 0755 'ufw/applications.d' maybe chmod 0755 'ufw/applications.d'

@ -0,0 +1,7 @@
[Unit]
Description=Mount USB Drive on %i
[Service]
Type=oneshot
RemainAfterExit=true
ExecStart=/usr/local/bin/usb-mount.sh add %i
ExecStop=/usr/local/bin/usb-mount.sh remove %i

@ -0,0 +1,3 @@
KERNEL=="sd[a-z]*[0-9]", SUBSYSTEMS=="usb", ACTION=="add", RUN+="/bin/systemctl start usb-mount@%k.service"
KERNEL=="sd[a-z]*[0-9]", SUBSYSTEMS=="usb", ACTION=="remove", RUN+="/bin/systemctl stop usb-mount@%k.service"
Loading…
Cancel
Save