HCoop
/
jyaworski
/
domtool2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6923cd
)
bare fwtool regen
author
Clinton Ebadi
<clinton@unknownlamer.org>
Tue, 22 Jan 2013 18:57:30 +0000
(13:57 -0500)
committer
Clinton Ebadi
<clinton@unknownlamer.org>
Tue, 22 Jan 2013 18:57:30 +0000
(13:57 -0500)
Regenerate all nodes at once
src/main-fwtool.sml
patch
|
blob
|
blame
|
history
diff --git
a/src/main-fwtool.sml
b/src/main-fwtool.sml
index
18c2ada
..
2e5fbdb
100644
(file)
--- a/
src/main-fwtool.sml
+++ b/
src/main-fwtool.sml
@@
-22,4
+22,6
@@
val _ =
OS.Process.exit (case CommandLine.arguments () of
"regen" :: nodeName :: rest => Main.requestFirewallRegen nodeName
+ | ["regen"] => if List.all OS.Process.isSuccess (map Main.requestFirewallRegen Config.Firewall.firewallNodes)
+ then OS.Process.success else OS.Process.failure
| _ => (print "Usage: fwtool regen NODE\n"; OS.Process.failure))