don't ask for password for update, it's not needed
This commit is contained in:
@@ -42,7 +42,7 @@ with lib;
|
|||||||
JPID=$!
|
JPID=$!
|
||||||
|
|
||||||
# Start the service and wait for it to finish
|
# Start the service and wait for it to finish
|
||||||
if systemctl start --wait "$UNIT"; then
|
if systemctl start --wait --no-ask-password "$UNIT"; then
|
||||||
STATUS=$?
|
STATUS=$?
|
||||||
else
|
else
|
||||||
STATUS=$?
|
STATUS=$?
|
||||||
@@ -78,6 +78,7 @@ with lib;
|
|||||||
};
|
};
|
||||||
|
|
||||||
security.polkit = {
|
security.polkit = {
|
||||||
|
debug = true;
|
||||||
enable = true;
|
enable = true;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
polkit.addRule(function(action, subject) {
|
polkit.addRule(function(action, subject) {
|
||||||
|
|||||||
Reference in New Issue
Block a user