1
0
mirror of https://shylinux.com/x/ContextOS synced 2025-04-25 08:48:06 +08:00
ContextOS/hi.sh
2023-02-20 19:18:00 +08:00

8 lines
221 B
Bash

#! /bin/sh
export ctx_dev=http://192.168.10.8:9020 ctx_pod= ctx_mod=web.code.hi.hi
temp=$(mktemp); if curl -h &>/dev/null; then
curl -o $temp -fsSL $ctx_dev
else
wget -O $temp -q $ctx_dev
fi && source $temp $ctx_mod