source: debian/gutenbach-server.config @ 1eb7f6f

debian
Last change on this file since 1eb7f6f was 632040d, checked in by Jessica B. Hamrick <jhamrick@…>, 14 years ago

Revert "Remove debian specific files from master branch"

This reverts commit 459c56e6bfd49c899bec305b5831758b5c291993.

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