procps: fix the install if systemd is installed. #156

Merged
merged 1 commit into from Nov 4, 2012
Jump to file or symbol
Failed to load files and symbols.
+3 −1
Split
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 ! 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