mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
edit the usbmount.conf also
This commit is contained in:
parent
9c3ec4186a
commit
a3be0ea928
3 changed files with 6 additions and 0 deletions
|
|
@ -1,5 +0,0 @@
|
|||
KERNEL=="sd*", DRIVERS=="sbp2", ACTION=="add", PROGRAM="/bin/systemd-escape -p --template=usbmount@.service $env{DEVNAME}", ENV{SYSTEMD_WANTS}+="%c"
|
||||
KERNEL=="sd*", SUBSYSTEMS=="usb", ACTION=="add", PROGRAM="/bin/systemd-escape -p --template=usbmount@.service $env{DEVNAME}", ENV{SYSTEMD_WANTS}+="%c"
|
||||
KERNEL=="ub*", SUBSYSTEMS=="usb", ACTION=="add", PROGRAM="/bin/systemd-escape -p --template=usbmount@.service $env{DEVNAME}", ENV{SYSTEMD_WANTS}+="%c"
|
||||
KERNEL=="sd*", ACTION=="remove", RUN+="/usr/share/usbmount/usbmount remove"
|
||||
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
[Unit]
|
||||
BindTo=%i.device
|
||||
After=%i.device
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
TimeoutStartSec=0
|
||||
Environment=DEVNAME=%I
|
||||
ExecStart=/usr/share/usbmount/usbmount add
|
||||
RemainAfterExit=yes
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue