initial commit
This commit is contained in:
10
build/post-install.sh
Executable file
10
build/post-install.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Copy sudoers rule from app resources to system location
|
||||
cp /opt/Dark\ Shield/resources/sudoers.d/dark-shield /etc/sudoers.d/dark-shield
|
||||
|
||||
# Set proper permissions for sudoers file
|
||||
sudo chmod 0440 /etc/sudoers.d/dark-shield
|
||||
chown root:root /etc/sudoers.d/dark-shield
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user