32
32
# mount a tmpfs over $DIR and place our rule in there, together with the
33
33
# already existing ones; this will guarantee that the file will not
34
34
# accidentally stay around across reboot, etc.
36
36
mount -t tmpfs tmpfs /run/udisks2/inhibit-polkit
37
37
find "$DIR" -mindepth 1 -exec cp -a '{}' /run/udisks2/inhibit-polkit \;
38
38
echo "$RULE" > /run/udisks2/inhibit-polkit/udisks2-inhibit.pkla