mirror of
https://github.com/QSCTech/zjunet.git
synced 2026-01-22 03:34:48 +08:00
add install.sh, fixes #21
This commit is contained in:
parent
76fedf3b81
commit
7a103f4b06
11
install.sh
Executable file
11
install.sh
Executable file
@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
BASEDIR=$(dirname $0)
|
||||
mkdir -p /usr/local/lib/zjunet
|
||||
cp -rf $BASEDIR /usr/local/lib/zjunet
|
||||
echo "#!/bin/sh" > /usr/local/bin/zjunet
|
||||
echo "/usr/local/lib/zjunet/zjunet.sh $@" >> /usr/local/bin/zjunet
|
||||
chmod +x /usr/local/bin/zjunet
|
||||
echo "[INFO] Done."
|
||||
echo
|
||||
zjunet
|
||||
Loading…
x
Reference in New Issue
Block a user