aboutsummaryrefslogtreecommitdiff
path: root/applets_sh
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2011-11-10 18:00:28 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2011-11-10 18:00:28 +0100
commit2951add2bf240e47b1d2e7bc384f138428391366 (patch)
tree754bfecb34b3376c3669e61c602bc6a5433745a7 /applets_sh
parent39b233182c0a13200be051b993da181a1db80a87 (diff)
downloadbusybox-2951add2bf240e47b1d2e7bc384f138428391366.tar.gz
applets_sh/nologin: an applet implemented as shell script
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'applets_sh')
-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 000000000..3768eaaa7
--- /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