File: config

package info (click to toggle)
xringd 1.20-29
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 324 kB
  • sloc: ansic: 1,689; sh: 65; makefile: 58
file content (16 lines) | stat: -rw-r--r-- 308 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh -e

# Drag in debconf stuff.
. /usr/share/debconf/confmodule

if [ -f /etc/xringd.conf ]; then
	MODDEV=`grep -E '^-m ' /etc/xringd.conf | cut -d\  -f2`
fi

if [ -f /etc/xringd.conf -a ! -z "$MODDEV" ]; then
	db_set xringd/modem-device $MODDEV
fi

db_input medium xringd/modem-device || true
db_go