5 # initramfs-tools header
21 # live-initramfs header
23 if [ -n "${NOPROGRAMCRASHES}" ]
28 . /scripts/live-functions
30 log_begin_msg "Enabling notifications about program crashes..."
32 # live-initramfs script
34 update_notifier_version=$(chroot /root dpkg-query -W --showformat='${Version}' update-notifier 2>/dev/null) || update_notifier_version=""
36 if [ -n "${update_notifier_version}" ]
38 chroot /root sudo -u "${USERNAME}" gconftool-2 -t bool -s /apps/update-notifier/show_apport_crashes true