7 lines
126 B
Bash
Executable file
7 lines
126 B
Bash
Executable file
#!/bin/bash
|
|
if [ ! "$UID" -eq 0 ]
|
|
then
|
|
sudo bash "$BASH_SOURCE";
|
|
else
|
|
sed -i "s/^# \(%wheel \)/\1/" /etc/sudoers;
|
|
fi;
|