repo.or.cz
/
copyleftie-scripts.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
manr: fix
[copyleftie-scripts.git]
/
zzz
blob
ee6f8bc5d1b9412814975e7b66271be0e7b92461
1
#!/bin/execline -WP
2
3
backtick -i -n progname { basename ${0} }
4
multisubstitute {
5
importas -u progname progname
6
importas -u home home
7
}
8
backtick -i -n progpath { defwhich ${progname} }
9
importas -u progpath progpath
10
11
foreground { doas ${progpath} }
12
forx s { slstatus openvpn tor }
13
importas -u s s
14
sv t ${s}