2
#$Id: config,v 1.3 2002/04/29 22:16:14 agx Exp $
4
# Source debconf library.
5
. /usr/share/debconf/confmodule
8
db_fget arcboot/boot_device seen
9
if [ "$RET" = "false" ]; then
11
ROOTDEVICE=`mount | grep '[[:space:]]/[[:space:]]' | cut -d' ' -f 1`
12
BOOTDEVICE=`echo $ROOTDEVICE | sed 's/[12345678]*$//'`
13
db_set arcboot/boot_device $BOOTDEVICE
16
db_input medium arcboot/boot_device || true