Browse files

procps: fix the install if systemd is installed.

  • Loading branch information...
1 parent 0a86637 commit 0d9885bc4050e3165226f0e68bdc5e60f3dbeb36 @Florin65 Florin65 committed Nov 4, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 utils/procps/BUILD
View
4 utils/procps/BUILD
@@ -17,7 +17,9 @@
fi &&
cp $SCRIPT_DIRECTORY/init.d/sysctl /etc/init.d &&
- ln -sf ../init.d/sysctl /etc/rcS.d/S99sysctl &&
+ if ! module_installed systemd; then
+ ln -sf ../init.d/sysctl /etc/rcS.d/S99sysctl
+ fi &&
if [ ! -e /etc/sysctl.conf ] ; then
install -g0 -o0 -m0600 $SCRIPT_DIRECTORY/sysctl.conf /etc

0 comments on commit 0d9885b

Please sign in to comment.