From 23e783694ee9f19c9ca45df4d580b5f050fa38be Mon Sep 17 00:00:00 2001 From: Godzil Date: Thu, 17 Dec 2015 11:33:02 +0000 Subject: [PATCH] Add fblib_cleanup function --- bashfblib.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bashfblib.sh b/bashfblib.sh index 730aa31..5e33f41 100644 --- a/bashfblib.sh +++ b/bashfblib.sh @@ -63,3 +63,9 @@ drawpixel() dd if=${TEMP} of=${SCREEN_FB} bs=1 seek=${skip} count=${BYTE_PER_PIXEL} 2&> /dev/null } + +fblib_cleanup() +{ + rm ${TEMP} +} +}