sudo to admin control panel
This commit is contained in:
parent
22ffb08278
commit
b74c0907fe
|
@ -780,12 +780,7 @@ function menu_admin {
|
|||
clear
|
||||
exit 0
|
||||
fi
|
||||
if grep -q "$USER ALL=(ALL) ALL" /etc/sudoers; then
|
||||
sudo freedombone-controlpanel
|
||||
else
|
||||
clear
|
||||
exit 0
|
||||
fi
|
||||
}
|
||||
|
||||
function menu_top_level {
|
||||
|
|
Loading…
Reference in New Issue