* Added default sysctl.conf * Added usher to manage sysctl.conf * Added /etc/sysctl.d
21 lines
272 B
Bash
Executable File
21 lines
272 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
case $1 in
|
|
preinst)
|
|
exit 0
|
|
;;
|
|
postinst)
|
|
if [ ! -f ${TARGET}/etc/sysctl.conf ]; then
|
|
cp ${TARGET}/usr/share/procps-ng/sysctl.conf ${TARGET}/etc/sysctl.conf
|
|
fi
|
|
;;
|
|
prerm)
|
|
exit 0
|
|
;;
|
|
postrm)
|
|
exit 0
|
|
;;
|
|
esac
|