applets_sh/nologin: an applet implemented as shell script

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2011-11-10 18:00:28 +01:00
parent 39b233182c
commit 2951add2bf
1 changed files with 4 additions and 0 deletions

4
applets_sh/nologin Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
cat /etc/nologin.txt 2>/dev/null || echo "This account is not available"
sleep 5
exit 1