aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-08-21 13:18:31 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-08-21 13:18:31 +0200
commit45de0746b33b3716101caa5fa08ee601221dce39 (patch)
treed073e0980d8ee319c7c48999fa5e3278aed3b1b3 /include
parente10db56aa3e069388e84f7166e05032ba5b89295 (diff)
downloadbusybox-45de0746b33b3716101caa5fa08ee601221dce39.tar.gz
add simple beep applet
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/applets.h1
-rw-r--r--include/usage.h10
2 files changed, 11 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h
index d4fbbc95c..9b6b54e63 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -80,6 +80,7 @@ IF_ASH(APPLET(ash, _BB_DIR_BIN, _BB_SUID_DROP))
IF_AWK(APPLET_NOEXEC(awk, awk, _BB_DIR_USR_BIN, _BB_SUID_DROP, awk))
IF_BASENAME(APPLET_NOFORK(basename, basename, _BB_DIR_USR_BIN, _BB_SUID_DROP, basename))
IF_BBCONFIG(APPLET(bbconfig, _BB_DIR_BIN, _BB_SUID_DROP))
+IF_BEEP(APPLET(beep, _BB_DIR_USR_BIN, _BB_SUID_DROP))
//IF_BBSH(APPLET(bbsh, _BB_DIR_BIN, _BB_SUID_DROP))
IF_BLKID(APPLET(blkid, _BB_DIR_SBIN, _BB_SUID_DROP))
IF_BRCTL(APPLET(brctl, _BB_DIR_USR_SBIN, _BB_SUID_DROP))
diff --git a/include/usage.h b/include/usage.h
index 8a5c7a088..227ed8001 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -145,6 +145,16 @@
"$ basename /foo/bar.txt .txt\n" \
"bar"
+#define beep_trivial_usage \
+ "-f freq -l length -d delay -r repetitions -n"
+#define beep_full_usage "\n\n" \
+ "Options:\n" \
+ "\n -f Frequency in Hz" \
+ "\n -l Length in ms" \
+ "\n -d Delay in ms" \
+ "\n -r Repetitions" \
+ "\n -n Start new tone" \
+
#define fbsplash_trivial_usage \
"-s IMGFILE [-c] [-d DEV] [-i INIFILE] [-f CMD]"
#define fbsplash_full_usage "\n\n" \