Adding casper 1.63+debian-1.
[live-boot-grml.git] / scripts / casper-bottom / 22gnome_panel_data
index 7bedd7a..e87c94f 100755 (executable)
@@ -21,7 +21,7 @@ esac
 log_begin_msg "$DESCRIPTION"
 
 if [ -x /root/usr/sbin/laptop-detect ]; then
-       if chroot /root /bin/sh -c /usr/sbin/laptop-detect; then
+       if chroot /root laptop-detect; then
            casper-reconfigure /root gnome-panel-data
        fi
 fi