File: config

package info (click to toggle)
setserial 2.17-24
  • links: PTS
  • area: main
  • in suites: woody
  • size: 412 kB
  • ctags: 190
  • sloc: sh: 2,727; ansic: 993; makefile: 123; csh: 2
file content (24 lines) | stat: -rw-r--r-- 518 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh -e

# determine architecture
ARCH=`dpkg --print-installation-architecture`

# source debconf library
. /usr/share/debconf/confmodule

if [ -r /etc/rc.boot/0setserial ] ; then
  # note about old 0setserial config file
  if [ "$ARCH" != "m68k" ]; then
  db_input high setserial/rc-boot-file-renamed || true
  else
  db_input high setserial/rc-boot-file-removed || true
  fi
fi

if [ "$ARCH" != "m68k" ]; then
  # ask about autosave
  db_input medium setserial/autosave-types || true
fi

# go, go, go! :)
db_go