sudo to admin control panel

This commit is contained in:
Bob Mottram 2016-04-19 10:26:13 +01:00
parent 22ffb08278
commit b74c0907fe
1 changed files with 1 additions and 6 deletions

View File

@ -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
sudo freedombone-controlpanel
}
function menu_top_level {