~ubuntu-branches/ubuntu/jaunty/partman-reiserfs/jaunty

« back to all changes in this revision

Viewing changes to init.d/kernelmodules_reiserfs

  • Committer: Bazaar Package Importer
  • Author(s): Otavio Salvador, Updated translations
  • Date: 2008-09-21 21:23:10 UTC
  • mto: This revision was merged to the branch mainline in revision 15.
  • Revision ID: james.westby@ubuntu.com-20080921212310-yg6h0reo6yedf1c2
Tags: 44
[ Updated translations ]
* Arabic (ar.po) by Ossama M. Khayat
* Bosnian (bs.po) by Armin Besirovic
* Welsh (cy.po) by Jonathan Price
* Danish (da.po)
* Hebrew (he.po) by Omer Zak
* Croatian (hr.po) by Josip Rodin
* Latvian (lv.po) by Peteris Krisjanis
* Portuguese (Brazil) (pt_BR.po) by Felipe Augusto van de Wiel (faw)
* Serbian (sr.po) by Veselin Mijušković

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh
2
2
 
3
 
[ -d /var/lib/partman ] || mkdir /var/lib/partman
 
3
mkdir -p /var/lib/partman
4
4
 
5
 
cat /proc/modules | 
 
5
cat /proc/modules |
6
6
while read module_name x; do
7
 
    if [ "$module_name" = reiserfs ]; then
8
 
        >/var/lib/partman/reiserfs
9
 
        exit 0
10
 
    fi
 
7
        if [ "$module_name" = reiserfs ]; then
 
8
                >/var/lib/partman/reiserfs
 
9
                exit 0
 
10
        fi
11
11
done
12
12
 
13
13
if modprobe reiserfs >/dev/null 2>/dev/null; then
14
 
    >/var/lib/partman/reiserfs
15
 
    exit 0
 
14
        >/var/lib/partman/reiserfs
 
15
        exit 0
16
16
fi
17
17
 
18
18
if grep -q reiserfs /proc/filesystems; then
19
 
    >/var/lib/partman/reiserfs
 
19
        >/var/lib/partman/reiserfs
20
20
fi