livegui/fsscript: create required polkit rules dir
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
This commit is contained in:
parent
e0097a27a9
commit
65323a3ed6
|
@ -71,6 +71,7 @@ popd
|
|||
chown -R gentoo:users /home/gentoo
|
||||
|
||||
# Let some tools run as root
|
||||
mkdir -p /etc/polkit-1/rules.d/
|
||||
echo 'polkit.addRule(function(action, subject) {
|
||||
if (action.id == "org.gnome.gparted") {
|
||||
return polkit.Result.YES;
|
||||
|
|
Loading…
Reference in a new issue