Permalink
Browse files

procps: fix the install in some conditions.

  • Loading branch information...
1 parent 0a86637 commit 5520d44b1adc4fb617478ce2bddaca9f0fcad7ff @Florin65 Florin65 committed Nov 3, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 utils/procps/BUILD
View
@@ -17,7 +17,9 @@
fi &&
cp $SCRIPT_DIRECTORY/init.d/sysctl /etc/init.d &&
- ln -sf ../init.d/sysctl /etc/rcS.d/S99sysctl &&
+ if [ -e /etc/rcS.d ]; 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 5520d44

Please sign in to comment.