Author: baggins
Date: Tue Apr 3 21:30:32 2012
New Revision: 12536
Modified:
rc-scripts/trunk/lib/functions
Log:
- provide stdin for the daemons that just must have it,
but stupid ksh closes it on them (for example acpid)
Modified: rc-scripts/trunk/lib/functions
==============================================================================
--- rc-scripts/trunk/lib/functions (original)
+++ rc-scripts/trunk/lib/functions Tue Apr 3 21:30:32 2012
@@ -687,7 +687,7 @@
--exec "$prog" \
-- ${1:+"$@"}
else
- nice -n $nice initlog -c "$prog" 2>&1
+ nice -n $nice initlog -c "$prog" 2>&1 </dev/null
fi
); then
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit