Files
procps-ng/SNAP/usher
Jay Larson 0095f3d0cd The following changes were made:
* Added default sysctl.conf
  * Added usher to manage sysctl.conf
  * Added /etc/sysctl.d
2017-05-16 19:30:24 -05:00

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