Realpath applet
This commit is contained in:
@@ -416,6 +416,9 @@
|
||||
#ifdef CONFIG_READLINK
|
||||
APPLET(readlink, readlink_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
|
||||
#endif
|
||||
#ifdef CONFIG_REALPATH
|
||||
APPLET(realpath, realpath_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
|
||||
#endif
|
||||
#ifdef CONFIG_REBOOT
|
||||
APPLET(reboot, reboot_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
|
||||
#endif
|
||||
|
||||
@@ -1638,6 +1638,11 @@
|
||||
#define readlink_full_usage \
|
||||
"Read a symbolic link."
|
||||
|
||||
#define realpath_trivial_usage \
|
||||
"pathname ..."
|
||||
#define realpath_full_usage \
|
||||
"return the canonicalized absolute pathnames of given arguments\n\n"
|
||||
|
||||
#define reboot_trivial_usage \
|
||||
""
|
||||
#define reboot_full_usage \
|
||||
|
||||
Reference in New Issue
Block a user