Not everyone runs nscd. Fixing a boot problem for those who don't.

svn path=/nixos/trunk/; revision=33434
This commit is contained in:
Lluís Batlle i Rossell 2012-03-26 21:01:46 +00:00
parent f31fefdfd9
commit e9d641014d

View File

@ -64,7 +64,8 @@ in
# a collision with an apparently unrelated environment
# variable with the same name exported by dhcpcd.
interface_order='lo lo[0-9]*'
'' + optionalString config.services.nscd.enable
''
# Invalidate the nscd cache whenever resolv.conf is
# regenerated.
libc_restart='${pkgs.upstart}/sbin/start invalidate-nscd'