[arch-projects] [INITSCRIPTS][PATCH] Load sysctl config files from sysctl.d

Dave Reisner d at falconindy.com
Wed Aug 31 11:40:59 EDT 2011


On Wed, Aug 31, 2011 at 05:35:38PM +0200, Seblu wrote:
> > -# Load sysctl variables if sysctl.conf is present
> > -[[ -r /etc/sysctl.conf ]] && sysctl -q -p &>/dev/null
> > +# Load sysctl config files
> > +[[ -x /usr/lib/initscripts/arch-tmpfiles ]] && /usr/lib/initscripts/arch-tmpfiles
> falure!
> 

Not to mention you still haven't removed the tmpfiles.conf line that we
don't want.

> >
> >  # Start daemons
> >  for daemon in "${DAEMONS[@]}"; do
> > diff --git a/tmpfiles.conf b/tmpfiles.conf
> > index 7dd1358..93fe532 100644
> > --- a/tmpfiles.conf
> > +++ b/tmpfiles.conf
> > @@ -4,6 +4,7 @@
> >
> >  D /tmp              1777 root root
> >  D /run/daemons      0755 root root
> > +d /run/sysctl.d     0755 root root
> >
> >  d /tmp/.X11-unix    1777 root root
> >  d /tmp/.ICE-unix    1777 root root
> > --
> > Sebastien "Seblu" Luttringer
> >
> >
> 
> 
> 
> -- 
> Sébastien Luttringer
> www.seblu.net


More information about the arch-projects mailing list