mirror of
https://github.com/DictXiong/dotfiles.git
synced 2025-07-02 05:10:30 +08:00
feat(riot-config): support sed*
This commit is contained in:
parent
1132b8e1ae
commit
ef895325c5
@ -39,14 +39,11 @@ nasp.remote() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dxng.domain() {
|
dxng.domain() {
|
||||||
|
if [[ "$host" =~ ^sed([0-9]{1,2})$ ]]; then
|
||||||
|
RET_HOSTNAME=192.168.98.$((100+BASH_REMATCH[1]))
|
||||||
|
else
|
||||||
RET_HOSTNAME=$host.dxng.net
|
RET_HOSTNAME=$host.dxng.net
|
||||||
RET_PORT=${RET_PORT:-12022}
|
fi
|
||||||
RET_USERNAME=${RET_USERNAME:-root}
|
|
||||||
RET_TRUST_SERVER=1
|
|
||||||
}
|
|
||||||
|
|
||||||
i.domain() {
|
|
||||||
RET_HOSTNAME=$host.ibd.ink
|
|
||||||
RET_PORT=${RET_PORT:-12022}
|
RET_PORT=${RET_PORT:-12022}
|
||||||
RET_USERNAME=${RET_USERNAME:-root}
|
RET_USERNAME=${RET_USERNAME:-root}
|
||||||
RET_TRUST_SERVER=1
|
RET_TRUST_SERVER=1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user