Skip to content

Commit

Permalink
Use option to ignore prompts from overlayfs-tools
Browse files Browse the repository at this point in the history
Signed-off-by: Ethan Dye <[email protected]>
  • Loading branch information
ecdye committed Nov 8, 2021
1 parent 3c1e4fb commit 04db705
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zram-config
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ mergeOverlay() {
echo "overlay merge --lowerdir=${ZDIR}${BIND_DIR} --upperdir=${ZDIR}${ZRAM_DEV}/upper" >> "$ZLOG"
ls -la "$ZDIR" "${ZDIR}${BIND_DIR}" "${ZDIR}${ZRAM_DEV}/upper" >> "$ZLOG"
cd /usr/local/lib/zram-config/ || return 1
(yes | ./overlay merge --lowerdir="${ZDIR}${BIND_DIR}" --upperdir="${ZDIR}${ZRAM_DEV}/upper") >> "$ZLOG" 2>&1 || return 1
(./overlay merge --yes --lowerdir="${ZDIR}${BIND_DIR}" --upperdir="${ZDIR}${ZRAM_DEV}/upper") >> "$ZLOG" 2>&1 || return 1
bash -x -- *.sh >> "$ZLOG" 2>&1
rm -fv -- *.sh >> "$ZLOG" 2>&1 || return 1
}
Expand Down

0 comments on commit 04db705

Please sign in to comment.