summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2011-11-10 17:00:28 (GMT)
committer Denys Vlasenko <vda.linux@googlemail.com>2011-11-10 17:00:28 (GMT)
commit2951add2bf240e47b1d2e7bc384f138428391366 (patch)
tree754bfecb34b3376c3669e61c602bc6a5433745a7
parent39b233182c0a13200be051b993da181a1db80a87 (diff)
downloadbusybox-2951add2bf240e47b1d2e7bc384f138428391366.tar.gz
busybox-2951add2bf240e47b1d2e7bc384f138428391366.tar.bz2
applets_sh/nologin: an applet implemented as shell script
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rwxr-xr-xapplets_sh/nologin4
1 files changed, 4 insertions, 0 deletions
diff --git a/applets_sh/nologin b/applets_sh/nologin
new file mode 100755
index 0000000..3768eaa
--- /dev/null
+++ b/applets_sh/nologin
@@ -0,0 +1,4 @@
+#!/bin/sh
+cat /etc/nologin.txt 2>/dev/null || echo "This account is not available"
+sleep 5
+exit 1