zjcqoo 6 anni fa
parent
commit
5aa22a40a5
1 ha cambiato i file con 13 aggiunte e 0 eliminazioni
  1. 13 0
      i.sh

+ 13 - 0
i.sh

@@ -0,0 +1,13 @@
+#!/usr/bin/env sh
+
+CDN=https://cdn.jsdelivr.net/gh/etherdream/jsproxy-bin@master/dist/
+DST=/home/jsproxy/setup.sh
+
+
+groupadd nobody
+useradd jsproxy -g nobody --create-home
+
+curl -s "$CDN/setup.sh" -o $DST
+chmod +x $DST
+
+su - jsproxy -c $DST