mirror of
https://github.com/FunKey-Project/FunKey-OS.git
synced 2026-03-19 02:12:41 +01:00
moved notif and clear_notif in utils
Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user