initial commit
This commit is contained in:
13
tcl/startup/stickrotconn.tcl
Normal file
13
tcl/startup/stickrotconn.tcl
Normal file
@@ -0,0 +1,13 @@
|
||||
proc setstickrot {{hostport unconnected}} {
|
||||
device stickrot_hostport $hostport
|
||||
if {[sicsdescriptor sics] eq "RemServer"} {
|
||||
catch {sics stickrot reconnect $hostport}
|
||||
}
|
||||
}
|
||||
|
||||
proc getstickrot {} {
|
||||
return [silent "unconnected" result device stickrot_hostport]
|
||||
}
|
||||
|
||||
publishLazy setstickrot
|
||||
publishLazy getstickrot
|
||||
Reference in New Issue
Block a user