Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Ian Eiloart
Sympl
Commits
36791297
Commit
36791297
authored
Jun 09, 2019
by
Paul Cammish
Browse files
Update postinst, add defaults for htop
parent
408f86fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
common/debian/postinst
View file @
36791297
...
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment