5 # initramfs-tools header
21 # live-initramfs header
23 . /scripts/live-functions
26 log_begin_msg "Configuring gnome-panel-data..."
28 # live-initramfs script
30 if [ -x /root/usr/sbin/laptop-detect ]; then
31 if chroot /root laptop-detect; then
32 live-reconfigure /root gnome-panel-data
36 panel_version=$(chroot /root /usr/bin/dpkg-query -W --showformat='${Version}' gnome-panel-data 2>/dev/null) || panel_version=""
37 if [ -n "$panel_version" ]; then
38 chroot /root sudo -u "$USERNAME" gconftool-2 -s -t bool /apps/panel/global/disable_lock_screen true