diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2012-06-04 01:37:33 +0000 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2012-06-04 01:37:33 +0000 |
commit | a6df447f1445c1218a1dc0db7a3c3d50c2186e86 (patch) | |
tree | 93b145b2db5a36a5a60f548bedcbacec2d9c2276 /debian/login.postinst | |
parent | 6c1662a897fd34b5b0b0174ab83552b016d05e8d (diff) | |
download | shadow-a6df447f1445c1218a1dc0db7a3c3d50c2186e86.tar.gz |
Added debian dir
Diffstat (limited to 'debian/login.postinst')
-rw-r--r-- | debian/login.postinst | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/login.postinst b/debian/login.postinst new file mode 100644 index 0000000..b3b5be1 --- /dev/null +++ b/debian/login.postinst @@ -0,0 +1,15 @@ +#!/bin/sh -e + +if [ "$1" = "configure" ] && [ "$2" = "" ] +then + # Install faillog during initial installs only + if [ ! -f /var/log/faillog ] ; then + touch /var/log/faillog + chown root:root /var/log/faillog + chmod 644 /var/log/faillog + fi +fi + +#DEBHELPER# + +exit 0 |