Make the OS file readonly, to prevent the "Text file busy" error (executed as a linux shell script + open for writing by another process)

This commit is contained in:
Georges Dupéron 2018-07-03 19:44:10 +02:00
parent 23e9889a50
commit 9ec290845a

View File

@ -5,7 +5,7 @@ set -e
resolution="$1" # e.g. 800x600x24 (width x height x bits_per_pixel)
shift # the following arguments are the program to execute and its arguments
bg="$(mktemp --suffix='bg.png')"
bg="$(mktemp --suffix='.png')"
fb_cfg="$(mktemp --suffix='fluxbox.cfg')"
# Create solid black background