* Add a test for the firewall.

svn path=/nixos/trunk/; revision=26276
This commit is contained in:
Eelco Dolstra
2011-03-11 13:38:52 +00:00
parent 64d871c0d9
commit ee4e004cc4
3 changed files with 52 additions and 1 deletions

View File

@@ -24,7 +24,10 @@ in
config = {
jobs.backdoor =
{ startOn = "ip-up";
{ # If the firewall is enabled, this job must start *after* the
# firewall, otherwise connection tracking won't know about
# this connection.
startOn = if config.networking.firewall.enable then "started firewall" else "ip-up";
stopOn = "never";
script =