diff options
| author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2009-08-21 13:18:31 +0200 |
|---|---|---|
| committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2009-08-21 13:18:31 +0200 |
| commit | 45de0746b33b3716101caa5fa08ee601221dce39 (patch) | |
| tree | d073e0980d8ee319c7c48999fa5e3278aed3b1b3 /include | |
| parent | e10db56aa3e069388e84f7166e05032ba5b89295 (diff) | |
| download | busybox-w32-45de0746b33b3716101caa5fa08ee601221dce39.tar.gz busybox-w32-45de0746b33b3716101caa5fa08ee601221dce39.tar.bz2 busybox-w32-45de0746b33b3716101caa5fa08ee601221dce39.zip | |
add simple beep applet
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/applets.h | 1 | ||||
| -rw-r--r-- | include/usage.h | 10 |
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)) | |||
| 80 | IF_AWK(APPLET_NOEXEC(awk, awk, _BB_DIR_USR_BIN, _BB_SUID_DROP, awk)) | 80 | IF_AWK(APPLET_NOEXEC(awk, awk, _BB_DIR_USR_BIN, _BB_SUID_DROP, awk)) |
| 81 | IF_BASENAME(APPLET_NOFORK(basename, basename, _BB_DIR_USR_BIN, _BB_SUID_DROP, basename)) | 81 | IF_BASENAME(APPLET_NOFORK(basename, basename, _BB_DIR_USR_BIN, _BB_SUID_DROP, basename)) |
| 82 | IF_BBCONFIG(APPLET(bbconfig, _BB_DIR_BIN, _BB_SUID_DROP)) | 82 | IF_BBCONFIG(APPLET(bbconfig, _BB_DIR_BIN, _BB_SUID_DROP)) |
| 83 | IF_BEEP(APPLET(beep, _BB_DIR_USR_BIN, _BB_SUID_DROP)) | ||
| 83 | //IF_BBSH(APPLET(bbsh, _BB_DIR_BIN, _BB_SUID_DROP)) | 84 | //IF_BBSH(APPLET(bbsh, _BB_DIR_BIN, _BB_SUID_DROP)) |
| 84 | IF_BLKID(APPLET(blkid, _BB_DIR_SBIN, _BB_SUID_DROP)) | 85 | IF_BLKID(APPLET(blkid, _BB_DIR_SBIN, _BB_SUID_DROP)) |
| 85 | IF_BRCTL(APPLET(brctl, _BB_DIR_USR_SBIN, _BB_SUID_DROP)) | 86 | 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 @@ | |||
| 145 | "$ basename /foo/bar.txt .txt\n" \ | 145 | "$ basename /foo/bar.txt .txt\n" \ |
| 146 | "bar" | 146 | "bar" |
| 147 | 147 | ||
| 148 | #define beep_trivial_usage \ | ||
| 149 | "-f freq -l length -d delay -r repetitions -n" | ||
| 150 | #define beep_full_usage "\n\n" \ | ||
| 151 | "Options:\n" \ | ||
| 152 | "\n -f Frequency in Hz" \ | ||
| 153 | "\n -l Length in ms" \ | ||
| 154 | "\n -d Delay in ms" \ | ||
| 155 | "\n -r Repetitions" \ | ||
| 156 | "\n -n Start new tone" \ | ||
| 157 | |||
| 148 | #define fbsplash_trivial_usage \ | 158 | #define fbsplash_trivial_usage \ |
| 149 | "-s IMGFILE [-c] [-d DEV] [-i INIFILE] [-f CMD]" | 159 | "-s IMGFILE [-c] [-d DEV] [-i INIFILE] [-f CMD]" |
| 150 | #define fbsplash_full_usage "\n\n" \ | 160 | #define fbsplash_full_usage "\n\n" \ |
