aboutsummaryrefslogtreecommitdiff
path: root/miscutils/beep.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/beep.c')
-rw-r--r--miscutils/beep.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/miscutils/beep.c b/miscutils/beep.c
index 18b160cc4..14802b543 100644
--- a/miscutils/beep.c
+++ b/miscutils/beep.c
@@ -7,6 +7,32 @@
7 * Licensed under GPLv2 or later, see file LICENSE in this source tree. 7 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
8 * 8 *
9 */ 9 */
10//config:config BEEP
11//config: bool "beep"
12//config: default y
13//config: select PLATFORM_LINUX
14//config: help
15//config: The beep applets beeps in a given freq/Hz.
16//config:
17//config:config FEATURE_BEEP_FREQ
18//config: int "default frequency"
19//config: range 0 2147483647
20//config: default 4000
21//config: depends on BEEP
22//config: help
23//config: Frequency for default beep.
24//config:
25//config:config FEATURE_BEEP_LENGTH_MS
26//config: int "default length"
27//config: range 0 2147483647
28//config: default 30
29//config: depends on BEEP
30//config: help
31//config: Length in ms for default beep.
32
33//applet:IF_BEEP(APPLET(beep, BB_DIR_USR_BIN, BB_SUID_DROP))
34
35//kbuild:lib-$(CONFIG_BEEP) += beep.o
10 36
11//usage:#define beep_trivial_usage 37//usage:#define beep_trivial_usage
12//usage: "-f FREQ -l LEN -d DELAY -r COUNT -n" 38//usage: "-f FREQ -l LEN -d DELAY -r COUNT -n"