Apache/2.4.7 (Ubuntu) Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) safemode : OFF MySQL: ON | Perl: ON | cURL: OFF | WGet: ON > / var / lib / dpkg / info / | server ip : 172.67.156.115 your ip : 108.162.242.39 H O M E |
Filename | /var/lib/dpkg/info/libpam-systemd:amd64.postinst |
Size | 804 |
Permission | rwxr-xr-x |
Owner | root : root |
Create time | 27-Apr-2025 09:54 |
Last modified | 15-Apr-2014 00:35 |
Last accessed | 06-Jul-2025 22:04 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
#! /bin/sh
set -e
pam-auth-update --package
# upgrading from pre-204 needs a reboot due to changed cgroup layout,
# restarting logind after the upgrade would lose all existing sessions
if dpkg --compare-versions "$2" lt-nl 204 &&
[ -x /usr/share/update-notifier/notify-reboot-required ]; then
/usr/share/update-notifier/notify-reboot-required
fi
# Automatically added by dh_installinit
if [ -x "/etc/init.d/systemd-logind" ] || [ -e "/etc/init/systemd-logind.conf" ]; then
if [ ! -e "/etc/init/systemd-logind.conf" ]; then
update-rc.d systemd-logind defaults >/dev/null
fi
invoke-rc.d systemd-logind start || exit $?
fi
# End automatically added section
# Automatically added by dh_installinit
update-rc.d -f systemd-logind remove >/dev/null || exit $?
# End automatically added section
set -e
pam-auth-update --package
# upgrading from pre-204 needs a reboot due to changed cgroup layout,
# restarting logind after the upgrade would lose all existing sessions
if dpkg --compare-versions "$2" lt-nl 204 &&
[ -x /usr/share/update-notifier/notify-reboot-required ]; then
/usr/share/update-notifier/notify-reboot-required
fi
# Automatically added by dh_installinit
if [ -x "/etc/init.d/systemd-logind" ] || [ -e "/etc/init/systemd-logind.conf" ]; then
if [ ! -e "/etc/init/systemd-logind.conf" ]; then
update-rc.d systemd-logind defaults >/dev/null
fi
invoke-rc.d systemd-logind start || exit $?
fi
# End automatically added section
# Automatically added by dh_installinit
update-rc.d -f systemd-logind remove >/dev/null || exit $?
# End automatically added section