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