summaryrefslogtreecommitdiff
path: root/e2fsprogs/chattr.c
diff options
context:
space:
mode:
authorDenys Vlasenko2015-10-18 22:40:23 +0200
committerDenys Vlasenko2015-10-18 22:40:23 +0200
commit000eda41c084bae95d9e40a570cbdaa5ffd3d22e (patch)
tree848b2b10ddd0277664e27c777ea36a7f5b317929 /e2fsprogs/chattr.c
parentd34f300db6d7a726759f4d820a61f19eacf11288 (diff)
downloadbusybox-000eda41c084bae95d9e40a570cbdaa5ffd3d22e.zip
busybox-000eda41c084bae95d9e40a570cbdaa5ffd3d22e.tar.gz
e2fsprogs/*: convert to new-style "one file" applets
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'e2fsprogs/chattr.c')
-rw-r--r--e2fsprogs/chattr.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/e2fsprogs/chattr.c b/e2fsprogs/chattr.c
index f1cc838..c4e2415 100644
--- a/e2fsprogs/chattr.c
+++ b/e2fsprogs/chattr.c
@@ -9,15 +9,15 @@
* This file can be redistributed under the terms of the GNU General
* Public License
*/
+//config:config CHATTR
+//config: bool "chattr"
+//config: default y
+//config: help
+//config: chattr changes the file attributes on a second extended file system.
-/*
- * History:
- * 93/10/30 - Creation
- * 93/11/13 - Replace stat() calls by lstat() to avoid loops
- * 94/02/27 - Integrated in Ted's distribution
- * 98/12/29 - Ignore symlinks when working recursively (G M Sipe)
- * 98/12/29 - Display version info only when -V specified (G M Sipe)
- */
+//applet:IF_CHATTR(APPLET(chattr, BB_DIR_BIN, BB_SUID_DROP))
+
+//kbuild:lib-$(CONFIG_CHATTR) += chattr.o e2fs_lib.o
//usage:#define chattr_trivial_usage
//usage: "[-R] [-+=AacDdijsStTu] [-v VERSION] [FILE]..."