Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- file=local.policy
- target=/usr/share/polkit-1/actions
- user=root
- group=root
- perm=644
- sudo cp "$(dirname "$(which "$0")")/$file" "$target"
- sudo chown "$user":"$group" "$target"/"$file"
- sudo chmod $perm "$target"/"$file"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement