moved notif and clear_notif in utils

Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr>
This commit is contained in:
Michel Stempin
2020-10-25 21:53:26 +01:00
parent 0c03bdfca0
commit 41b19ad672
3 changed files with 18 additions and 9 deletions

View File

@@ -18,3 +18,12 @@ if [ $? -ne 0 ]; then
exit $return_code
}
fi
notif () {
info "$@"
printf "$@" > /sys/class/graphics/fb0/notification
}
clear_notif () {
printf "clear" > /sys/class/graphics/fb0/notification
}