diff options
author | Helmut Grohne <helmut@subdivi.de> | 2021-08-20 14:37:49 +0200 |
---|---|---|
committer | Johannes Schauer Marin Rodrigues <josch@mister-muffin.de> | 2021-08-20 14:38:35 +0200 |
commit | d19ac3ae86e69f4fad970ef21bde1b2e1f89edd5 (patch) | |
tree | b585ae3d60ed511ee48ab3f49b41f69aff167417 /debian/login.postinst | |
parent | cfc17bfaa78993b802e255d7d57e193b6d39862c (diff) | |
download | shadow-d19ac3ae86e69f4fad970ef21bde1b2e1f89edd5.tar.gz |
login.postinstd remove cruft (closes: #989712)
Diffstat (limited to 'debian/login.postinst')
-rw-r--r-- | debian/login.postinst | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/debian/login.postinst b/debian/login.postinst index f4c3ce02..8f3ef552 100644 --- a/debian/login.postinst +++ b/debian/login.postinst @@ -2,18 +2,6 @@ set -e -if test "$1" = configure -then - if test -f /etc/init.d/logoutd - then - if test "$(md5sum /etc/init.d/logoutd)" = "9080f92783dd53f6f2108e698c06bd53 /etc/init.d/logoutd" - then - echo "removing logoutd cruft" - rm /etc/init.d/logoutd - update-rc.d logoutd remove - fi - fi -fi if [ "$1" = "configure" ]; then # Install faillog during initial installs only @@ -37,19 +25,6 @@ if [ "$1" = "configure" ]; then fi fi - # Create subuid/subgid if missing - if [ ! -e /etc/subuid ]; then - touch /etc/subuid - chown root:root /etc/subuid - chmod 644 /etc/subuid - fi - - if [ ! -e /etc/subgid ]; then - touch /etc/subgid - chown root:root /etc/subgid - chmod 644 /etc/subgid - fi - #DEBHELPER# exit 0 |