-if [ -x /root/usr/sbin/laptop-detect ]; then
- if chroot /root laptop-detect; then
- live-reconfigure /root gnome-panel-data
+. /scripts/live-functions
+
+log_begin_msg "Configuring gnome-panel-data..."
+
+# live-initramfs script
+
+if [ -x /root/usr/sbin/laptop-detect ]
+then
+ if chroot /root laptop-detect
+ then
+ live-reconfigure /root gnome-panel-data