mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 09:38:19 +08:00
install: enable memory cgroup on rpi
This commit is contained in:
3 files changed
+23
-2
No files matched your search
+2
-1
@@ -22,7 +22,8 @@ echo "// File created by Hydro install script\n" >/tmp/install.js
|
||||
cat >/tmp/install.b64 << EOF123
|
||||
%PLACEHOLDER%
|
||||
EOF123
|
||||
cat /tmp/install.b64 | base64 -d >>/tmp/install.js
|
||||
cat /tmp/install.b64 | base64 -d >>/tmp/install.js.gz
|
||||
rm /tmp/install.b64
|
||||
gunzip /tmp/install.js.gz
|
||||
node /tmp/install.js "$@"
|
||||
set +e
|
||||
Reference in new issue
Block a user