sdfailed.txt in shellnotes -l
Added the set-defaults.sh log as an option in the logfile viewer.
This commit is contained in:
parent
e12b79fdf5
commit
c33d0a675c
1 changed files with 8 additions and 5 deletions
13
util/l/l.sh
13
util/l/l.sh
|
@ -10,11 +10,12 @@ case $1 in -l|--logs )
|
||||||
echo "Please select a logfile to open"
|
echo "Please select a logfile to open"
|
||||||
echo "-------------------------------"
|
echo "-------------------------------"
|
||||||
echo
|
echo
|
||||||
echo "1. ~/.shellnotes/logs/disfailed.txt"
|
echo "1. disablement errors"
|
||||||
echo "2. ~/.shellnotes/logs/enfailed.txt"
|
echo "2. enablement errors"
|
||||||
echo "3. ~/.shellnotes/logs/ifailed.txt"
|
echo "3. installation errors"
|
||||||
echo "4. ~/.shellnotes/logs/ufailed.txt"
|
echo "4. update errors"
|
||||||
echo "5. ~/.shellnotes/logs/uninfailed.txt"
|
echo "5. uninstallation errors"
|
||||||
|
echo "6. set-defaults errors"
|
||||||
echo "For more info about which one to choose, read /docs/system/loggingsystem.txt"
|
echo "For more info about which one to choose, read /docs/system/loggingsystem.txt"
|
||||||
echo
|
echo
|
||||||
echo -n "[1,2,3,4,5]: " && read input
|
echo -n "[1,2,3,4,5]: " && read input
|
||||||
|
@ -28,6 +29,8 @@ case $1 in -l|--logs )
|
||||||
less ~/.shellnotes/logs/ufailed.txt
|
less ~/.shellnotes/logs/ufailed.txt
|
||||||
elif [ $input = 5 ]; then
|
elif [ $input = 5 ]; then
|
||||||
less ~/.shellnotes/logs/uninfailed.txt
|
less ~/.shellnotes/logs/uninfailed.txt
|
||||||
|
elif [ $input = 6 ]; then
|
||||||
|
less ~/.shellnotes/logs/sdfailed.txt
|
||||||
else
|
else
|
||||||
echo "Invalid input."
|
echo "Invalid input."
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue