Skip to content

Commit b2847c1

Browse files
committed
add alias functions for compatibility
Signed-off-by: Michel-FK <michel.stempin@funkey-project.com>
1 parent bc35b7e commit b2847c1

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

  • FunKey/board/funkey/rootfs-overlay/root

FunKey/board/funkey/rootfs-overlay/root/.profile

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,35 @@ alias l='ls $LS_OPTIONS -lA'
1818
# alias cp='cp -i'
1919
# alias mv='mv -i'
2020

21+
# Alias functions for compatibility
22+
volume_get() {
23+
volume get "$@"
24+
}
25+
26+
volume_set() {
27+
volume set "$@"
28+
}
29+
30+
brightness_get() {
31+
brightness get "$@"
32+
}
33+
34+
brightness_set() {
35+
brightness set "$@"
36+
}
37+
38+
notif_set() {
39+
notif set "$@"
40+
}
41+
42+
start_audio_amp() {
43+
audio_amp "$@"
44+
}
45+
46+
cancel_sched_powerdown() {
47+
powerdown handle
48+
}
49+
2150
# Relocate HOME into the r/w partition
2251
export HOME=/mnt/FunKey
2352
mkdir -p "${HOME}"

0 commit comments

Comments
 (0)