fix: Rebrand systemd templates, polkit rules, and install scripts
- src/templates/pipedald.service.template — user/group pipedal_d → oppedal_d - src/templates/pipedaladmind.service.template — WorkingDirectory /var/pipedal → /var/oppedal - src/templates/pipedal_nm_p2pd.service.template — Description and WorkingDirectory - src/templates/pipedal_p2pd.service.template — Description and WorkingDirectory - src/templates/pipedal_p2pd.conf.template — p2p_model_name, manufacturer - src/templates/jack.service.template — After=pipedald → After=oppedald - src/templates/*.conf — PiPedal/pipedal-* → OP-Pedal/oppedal-* references - src/polkit-1/rules/10-pipedal-networkmanager.rules — group pipedal_d → oppedal_d - install.sh — pipedalconfig/oppedalconfig binary paths - uninstall.sh — /etc/pipedal, /var/pipedal → /etc/oppedal, /var/oppedal - run.sh — pipedald → oppedald, /etc/pipedal → /etc/oppedal
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// grant NetworkManager dbus permissions (no-prompts) to the pipedald systemd service.
|
||||
// grant NetworkManager dbus permissions (no-prompts) to the oppedald systemd service.
|
||||
polkit.addRule(function(action, subject) {
|
||||
if (action.id.indexOf("org.freedesktop.NetworkManager.") == 0 && subject.isInGroup("pipedal_d")) {
|
||||
if (action.id.indexOf("org.freedesktop.NetworkManager.") == 0 && subject.isInGroup("oppedal_d")) {
|
||||
return polkit.Result.YES;
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user