add simple beep applet

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
This commit is contained in:
Bernhard Reutner-Fischer
2009-08-21 13:18:31 +02:00
parent e10db56aa3
commit 45de0746b3
5 changed files with 137 additions and 0 deletions

View File

@@ -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))

View File

@@ -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" \