Menu
parent
25cd6028e0
commit
7c74fddab2
|
@ -36,7 +36,7 @@ function menu () {
|
||||||
echo
|
echo
|
||||||
echo "Select an option :"
|
echo "Select an option :"
|
||||||
echo
|
echo
|
||||||
echo "1) Clear auth & bash history for user $USER"
|
echo "1) Clear logs for user $USER"
|
||||||
echo "2) Permenently disable auth & bash history"
|
echo "2) Permenently disable auth & bash history"
|
||||||
echo "3) Restore settings to default"
|
echo "3) Restore settings to default"
|
||||||
echo "99) Exit tool"
|
echo "99) Exit tool"
|
||||||
|
@ -164,7 +164,7 @@ fi
|
||||||
menu
|
menu
|
||||||
|
|
||||||
if [[ $option == 1 ]]; then
|
if [[ $option == 1 ]]; then
|
||||||
# Clear current history
|
# Clear logs & current history
|
||||||
clearLogs
|
clearLogs
|
||||||
clearHistory
|
clearHistory
|
||||||
elif [[ $option == 2 ]]; then
|
elif [[ $option == 2 ]]; then
|
||||||
|
|
Loading…
Reference in New Issue