projects
/
rrq
/
hourglass.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
revised to have dat files in local dir
[rrq/hourglass.git]
/
manager
/
controls.lsp
diff --git
a/manager/controls.lsp
b/manager/controls.lsp
index b4779aee24a9e5684483b8c387e04702c1c4803c..60c00b5148ee19976c3d0d6286de0997b0b79496 100644
(file)
--- a/
manager/controls.lsp
+++ b/
manager/controls.lsp
@@
-1,4
+1,4
@@
-; Load and present
../controls
.dat
+; Load and present
control
.dat
(load "expand-string.lsp")
(load "expand-string.lsp")
@@
-9,13
+9,14
@@
)
(constant
)
(constant
- 'CONTROLFILE "
../
control.dat"
+ 'CONTROLFILE "control.dat"
'CONTROL (read-expr (read-file CONTROLFILE))
'GAP (or (lookup 'gap CONTROL) 5)
'CLIP (or (lookup 'clip CONTROL) 5)
'CONTROL (read-expr (read-file CONTROLFILE))
'GAP (or (lookup 'gap CONTROL) 5)
'CLIP (or (lookup 'clip CONTROL) 5)
- 'INCL (or (lookup control CONTROL) "ipset-control.lsp")
+ 'INCL (or (lookup
'
control CONTROL) "ipset-control.lsp")
'TIMES (map (fn (n) (or (assoc n CONTROL) '(1 timed (7 0) (3 0) (19 0))))
(sequence 1 7))
'TIMES (map (fn (n) (or (assoc n CONTROL) '(1 timed (7 0) (3 0) (19 0))))
(sequence 1 7))
+ 'NET (or (lookup 'net CONTROL) "10.0.0.0/8")
)
(setf
)
(setf