~ubuntu-branches/ubuntu/dapper/partman-base/dapper

« back to all changes in this revision

Viewing changes to commit.d/parted

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2005-10-02 20:38:56 UTC
  • Revision ID: james.westby@ubuntu.com-20051002203856-etvkahfdgcx6clql
Tags: 70ubuntu3
* Backport from trunk:
  - Stop USES_EXTENDED command from segfaulting if called on a device
    without a partition table (e.g. a DVD-RW).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
. /lib/partman/definitions.sh
 
4
 
 
5
disable_swap
 
6
for dev in $DEVICES/*; do
 
7
    [ -d "$dev" ] || continue
 
8
    cd $dev
 
9
    open_dialog COMMIT
 
10
    close_dialog
 
11
done