~ubuntu-branches/ubuntu/natty/casper/natty

« back to all changes in this revision

Viewing changes to scripts/casper-bottom/15autologin

  • Committer: Package Import Robot
  • Author(s): Martin Pitt, Evan Dandrea, Martin Pitt
  • Date: 2011-04-04 16:12:34 UTC
  • Revision ID: package-import@ubuntu.com-20110404161234-t9ugk32s94y5mh5y
Tags: 1.263
[ Evan Dandrea ]
* Suppress Log Out item in the live session (LP: #750140).

[ Martin Pitt ]
* scripts/casper-helpers, find_cow_device(): Do not ever probe floppy
  devices. There are lots of computers which still have a floppy controller
  (and thus a /dev/fd0), but no actual floppy. Trying to send anything to
  /dev/fd0 will result in very long timeouts. Here this causes booting the
  live CD to take more than 30 minutes. (See also LP #539515 for the
  corresponding bug in udev/udisks). (LP: #739774)

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
            echo '[daemon]' >> $GDMCustomFile
36
36
        fi
37
37
        sed -i "s/\[daemon\]/\[daemon\]\n$AutologinParameters/" $GDMCustomFile
 
38
        chroot /root sudo -u "$USERNAME" gconftool-2 -s -t bool \
 
39
            /apps/indicator-session/suppress_logout_menuitem true
38
40
    fi
39
41
fi
40
42