source: debian/gutenbach.config @ 5cc9f7a

nodebathena
Last change on this file since 5cc9f7a was 5cc9f7a, checked in by Jessica B. Hamrick <jhamrick@…>, 14 years ago

Move debian folder into the root, and move all non-debian code into gutenbach/

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