Commit 36791297 authored by Paul Cammish's avatar Paul Cammish
Browse files

Update postinst, add defaults for htop

parent 408f86fd
......@@ -144,11 +144,50 @@ if [ ! -e "/etc/ssl/ssl.key" ] &&
fi
# If sympl-permissions is in the path, run it.
if [ "x$( which sympl-permissions )" != "x" ]; then
sympl-permissions --verbose
# If sympl-filesystem-security is in the path, run it.
if [ "x$( which sympl-filesystem-security )" != "x" ]; then
sympl-filesystem-security
fi
if [ ! -f /home/sympl/.config/htop/htoprc ]; then
echo "hide_threads=0
hide_kernel_threads=1
hide_userland_threads=1
shadow_other_users=0
show_thread_names=1
show_program_path=1
highlight_base_name=1
highlight_megabytes=1
highlight_threads=1
tree_view=1
header_margin=0
detailed_cpu_time=1
cpu_count_from_zero=0
update_process_names=1
account_guest_in_cpu_meter=1" > /home/sympl/.config/htop/htoprc
chown sympl:sympl /root/.config/htop/htoprc
fi
if [ ! -f /root/.config/htop/htoprc ]; then
echo "hide_threads=0
hide_kernel_threads=1
hide_userland_threads=1
shadow_other_users=0
show_thread_names=1
show_program_path=1
highlight_base_name=1
highlight_megabytes=1
highlight_threads=1
tree_view=1
header_margin=0
detailed_cpu_time=1
cpu_count_from_zero=0
update_process_names=1
account_guest_in_cpu_meter=1" > /root/.config/htop/htoprc
chown root:root /root/.config/htop/htoprc
fi
#DEBHELPER#
exit 0
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment