~ubuntu-branches/debian/jessie/arcboot/jessie

« back to all changes in this revision

Viewing changes to debian/config

  • Committer: Bazaar Package Importer
  • Author(s): Guido Guenther
  • Date: 2004-03-02 12:01:14 UTC
  • Revision ID: james.westby@ubuntu.com-20040302120114-0pukal9hlpt3k0l7
Tags: 0.3.8.1
correct subarch detection for IP32

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh -e
 
2
#$Id: config,v 1.3 2002/04/29 22:16:14 agx Exp $
 
3
 
 
4
# Source debconf library.
 
5
. /usr/share/debconf/confmodule
 
6
 
 
7
# Already seen?
 
8
db_fget arcboot/boot_device seen
 
9
if [ "$RET" = "false" ]; then
 
10
    # what about devfs?
 
11
    ROOTDEVICE=`mount | grep '[[:space:]]/[[:space:]]' | cut -d' ' -f 1`
 
12
    BOOTDEVICE=`echo $ROOTDEVICE | sed 's/[12345678]*$//'`
 
13
    db_set arcboot/boot_device $BOOTDEVICE
 
14
fi
 
15
 
 
16
db_input medium arcboot/boot_device || true
 
17
db_go