Merge "Pre create logs directory for atop"
This commit is contained in:
commit
85cfb211db
3
lib/atop
3
lib/atop
@ -19,7 +19,8 @@ _XTRACE_ATOP=$(set +o | grep xtrace)
|
||||
set +o xtrace
|
||||
|
||||
function configure_atop {
|
||||
cat <<EOF | sudo tee /etc/default/atop >/dev/null
|
||||
mkdir -p $LOGDIR/atop
|
||||
cat <<EOF | sudo tee /etc/default/atop >/dev/null
|
||||
# /etc/default/atop
|
||||
# see man atoprc for more possibilities to configure atop execution
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user