nodebathena
Last change
on this file since 5a05bf2 was
5a05bf2,
checked in by Jessica B. Hamrick <jhamrick@…>, 14 years ago
|
Modified debconfig to not prompt for zephyr class
modified Config file to not store a zephyr class
Modified filter to accept new config file ordering
|
-
Property mode set to
100755
|
File size:
752 bytes
|
Line | |
---|
1 | #!/bin/sh -e |
---|
2 | |
---|
3 | # Source debconf library. |
---|
4 | . /usr/share/debconf/confmodule |
---|
5 | |
---|
6 | printername="" |
---|
7 | #zephyrclass="" |
---|
8 | hostname="" |
---|
9 | |
---|
10 | if [ -e /usr/lib/gutenbach/config/printername ]; then |
---|
11 | printername=$(cat /usr/lib/gutenbach/config/printername) |
---|
12 | db_set gutenbach/printername "$printername" |
---|
13 | fi |
---|
14 | |
---|
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 |
---|
19 | |
---|
20 | if [ -e /usr/lib/gutenbach/config/hostname ]; then |
---|
21 | hostname=$(cat /usr/lib/gutenbach/config/hostname) |
---|
22 | db_set gutenbach/hostname "$hostname" |
---|
23 | fi |
---|
24 | |
---|
25 | db_input high gutenbach/printername || true |
---|
26 | #db_input high gutenbach/zephyrclass || true |
---|
27 | db_input high gutenbach/hostname || true |
---|
28 | db_go || true |
---|
29 | |
---|
Note: See
TracBrowser
for help on using the repository browser.