File: config

package info (click to toggle)
xringd 1.20-23
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 216 kB
  • ctags: 108
  • sloc: ansic: 866; sh: 64; makefile: 63
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