source: debian/gutenbach-remctl.config @ 27d5cd1

debian
Last change on this file since 27d5cd1 was 2116615, checked in by Kyle Brogle <broglek@…>, 14 years ago

Added debconf to gutenbach-remctl to allow users to specify preferred mixer
and channel on install.

Fixed debconf prompts for gutenbach-server that still mentioned the old
method of queuing music

Added gutenbach team as uploaders to avoid Lintian NMU errors.

  • Property mode set to 100755
File size: 528 bytes
Line 
1#!/bin/sh -e
2
3# Source debconf library.
4. /usr/share/debconf/confmodule
5
6mixer=""
7channel=""
8
9
10if [ -e /usr/lib/gutenbach/remctl/config/mixer ]; then
11    mixer=$(cat /usr/lib/gutenbach/remctl/config/mixer)
12    db_set gutenbach-remctl/mixer "$mixer"
13fi
14
15if [ -e /usr/lib/gutenbach/remctl/config/channel ]; then
16    channel=$(cat /usr/lib/gutenbach/remctl/config/channel)
17    db_set gutenbach-remctl/channel "$channel"
18fi
19
20db_input high gutenbach-remctl/mixer || true
21db_input high gutenbach-remctl/channel || true
22db_go || true
23
Note: See TracBrowser for help on using the repository browser.