After Install tab create polkit rule for auto drive mounting?

After install I have had to create a polkit rule so that my extra internal drives mount automatically.

sudo nano /etc/polkit-1/rules.d/10-udisks2.rules

polkit.addRule(function(action, subject) { if ((action.id == “org.freedesktop.udisks2.filesystem-mount-system” || action.id == “org.freedesktop.udisks2.filesystem-mount”) && subject.isInGroup(“wheel”)) { return polkit.Result.YES; } });

I’ve added this to my post installation automation script, but wondered if this was something worth adding to the Welcome Screen?

1 Like