You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

11 lines
251 B

#!/bin/bash
for agent in \
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 \
/usr/lib/mate-polkit/polkit-mate-authentication-agent-1 \
/usr/libexec/polkit-mate-authentication-agent-1
do
if [[ -x "$agent" ]]; then
exec $agent
fi
done