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 : 104.21.89.46 your ip : 172.69.17.69 H O M E |
Filename | /var/lib/dpkg/info/ecryptfs-utils.postinst |
Size | 726 |
Permission | rwxr-xr-x |
Owner | root : root |
Create time | 27-Apr-2025 10:01 |
Last modified | 16-Jan-2016 08:29 |
Last accessed | 08-Jul-2025 05:14 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
#!/bin/sh
set -e
chmod 755 /usr/share/ecryptfs-utils/*.desktop || true
case "${1}" in
configure)
[ -e /var/log/installer/syslog ] && sed -i '/user-setup: YOU SHOULD RECORD THIS/,+2 d' /var/log/installer/syslog
pam-auth-update --package
# Try to migrate encrypted Private counters from /tmp to /dev/shm, if sane
for i in $(ls /home); do
if [ -f "/tmp/ecryptfs-$i-Private" ] && [ ! -e "/dev/shm/ecryptfs-$i-Private" ]; then
o=$(stat -c %U "/tmp/ecryptfs-$i-Private")
if [ $i = $o ]; then
mv -f /tmp/ecryptfs-$i-Private /dev/shm
fi
fi
done
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`{$1}'" >&2
exit 1
;;
esac
exit 0
set -e
chmod 755 /usr/share/ecryptfs-utils/*.desktop || true
case "${1}" in
configure)
[ -e /var/log/installer/syslog ] && sed -i '/user-setup: YOU SHOULD RECORD THIS/,+2 d' /var/log/installer/syslog
pam-auth-update --package
# Try to migrate encrypted Private counters from /tmp to /dev/shm, if sane
for i in $(ls /home); do
if [ -f "/tmp/ecryptfs-$i-Private" ] && [ ! -e "/dev/shm/ecryptfs-$i-Private" ]; then
o=$(stat -c %U "/tmp/ecryptfs-$i-Private")
if [ $i = $o ]; then
mv -f /tmp/ecryptfs-$i-Private /dev/shm
fi
fi
done
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`{$1}'" >&2
exit 1
;;
esac
exit 0