File: config

package info (click to toggle)
setserial 2.17-43
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 536 kB
  • ctags: 192
  • sloc: sh: 3,100; ansic: 1,008; makefile: 126; csh: 2
file content (26 lines) | stat: -rw-r--r-- 564 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
25
26
#!/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

# db_input medium setserial/usemodup || true

# go, go, go! :)
db_go