You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: install.sh
+3-1
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
1
#!/bin/bash
2
2
3
-
TAG=openhabian_v1.6
3
+
source /etc/openhabian.conf
4
+
4
5
5
6
systemctl -q is-active zram-config && { echo"ERROR: zram-config service is still running. Please run \"sudo service zram-config stop\" to stop it and uninstall";exit 1; }
6
7
[ "$(id -u)"-eq 0 ] || { echo"You need to be ROOT (sudo can be used)";exit 1; }
@@ -21,6 +22,7 @@ cd overlayfs-tools
21
22
make
22
23
cd ..
23
24
25
+
sed -i "s|%STORAGE|${storagedir:-/storage}|g" zram-config.service
0 commit comments