diff options
author | Denys Vlasenko | 2011-11-10 18:00:28 +0100 |
---|---|---|
committer | Denys Vlasenko | 2011-11-10 18:00:28 +0100 |
commit | 2951add2bf240e47b1d2e7bc384f138428391366 (patch) | |
tree | 754bfecb34b3376c3669e61c602bc6a5433745a7 | |
parent | 39b233182c0a13200be051b993da181a1db80a87 (diff) | |
download | busybox-2951add2bf240e47b1d2e7bc384f138428391366.zip busybox-2951add2bf240e47b1d2e7bc384f138428391366.tar.gz |
applets_sh/nologin: an applet implemented as shell script
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rwxr-xr-x | applets_sh/nologin | 4 |
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 |