diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-13 13:33:02 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-13 13:33:02 +0000 |
commit | aafbae618126835c006ae0be96959540d5b8f5af (patch) | |
tree | d177d967f81eb1631101030d8d6b3edea44b938c /include | |
parent | e8a796828eee4b898be2141ecbe34bad594bfbbb (diff) | |
download | busybox-w32-aafbae618126835c006ae0be96959540d5b8f5af.tar.gz busybox-w32-aafbae618126835c006ae0be96959540d5b8f5af.tar.bz2 busybox-w32-aafbae618126835c006ae0be96959540d5b8f5af.zip |
mdev: make usage text more useful
function old new delta
packed_usage 26235 26291 +56
Diffstat (limited to 'include')
-rw-r--r-- | include/usage.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/include/usage.h b/include/usage.h index c36a3bbd7..7111e90bc 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -2556,8 +2556,14 @@ | |||
2556 | #define mdev_full_usage "\n\n" \ | 2556 | #define mdev_full_usage "\n\n" \ |
2557 | " -s Scan /sys and populate /dev during system boot\n" \ | 2557 | " -s Scan /sys and populate /dev during system boot\n" \ |
2558 | "\n" \ | 2558 | "\n" \ |
2559 | "Called with no options (via hotplug) it uses environment variables\n" \ | 2559 | "It can be run by kernel as a hotplug helper. To activate it:\n" \ |
2560 | "to determine which device to add/remove." | 2560 | " echo /bin/mdev >/proc/sys/kernel/hotplug\n" \ |
2561 | USE_FEATURE_MDEV_CONF( \ | ||
2562 | "It uses /etc/mdev.conf with lines\n" \ | ||
2563 | "DEVNAME UID:GID PERM" \ | ||
2564 | USE_FEATURE_MDEV_RENAME(" [>|=PATH]") \ | ||
2565 | USE_FEATURE_MDEV_EXEC(" [@|$|*COMMAND]") \ | ||
2566 | ) \ | ||
2561 | 2567 | ||
2562 | #define mdev_notes_usage "" \ | 2568 | #define mdev_notes_usage "" \ |
2563 | USE_FEATURE_MDEV_CONFIG( \ | 2569 | USE_FEATURE_MDEV_CONFIG( \ |