add alias functions for compatibility

Signed-off-by: Michel-FK <michel.stempin@funkey-project.com>
This commit is contained in:
Michel-FK 2021-06-08 22:41:42 +02:00
parent bc35b7e59c
commit b2847c1cd4
1 changed files with 29 additions and 0 deletions

View File

@ -18,6 +18,35 @@ alias l='ls $LS_OPTIONS -lA'
# alias cp='cp -i'
# alias mv='mv -i'
# Alias functions for compatibility
volume_get() {
volume get "$@"
}
volume_set() {
volume set "$@"
}
brightness_get() {
brightness get "$@"
}
brightness_set() {
brightness set "$@"
}
notif_set() {
notif set "$@"
}
start_audio_amp() {
audio_amp "$@"
}
cancel_sched_powerdown() {
powerdown handle
}
# Relocate HOME into the r/w partition
export HOME=/mnt/FunKey
mkdir -p "${HOME}"