This repository has been archived on 2024-12-10. You can view files and clone it, but cannot push or open issues or pull requests.
clic-rpi-image/stage2/00-copies-and-fills/02-run.sh
Xerxes Rånby 57ef9b88e3 stage2/00-copies-and-fills/02-run.sh: Fix re-runs of script (#301)
Check that file exist before move.
2019-07-02 14:54:25 +01:00

6 lines
153 B
Bash
Executable file

#!/bin/bash -e
if [ -f "${ROOTFS_DIR}/etc/ld.so.preload" ]; then
mv "${ROOTFS_DIR}/etc/ld.so.preload" "${ROOTFS_DIR}/etc/ld.so.preload.disabled"
fi