source: trunk/torque.config @ 29

Last change on this file since 29 was 22, checked in by adi, 16 years ago

Handle PBS_{SCHED,MOM,SERVER}_OPTS via debconf

File size: 511 bytes
Line 
1#!/bin/sh -e
2
3# Source debconf library.
4. /usr/share/debconf/confmodule
5
6# Display disclaimer
7db_input high torque/disclaimer || true
8db_go
9
10# Let the user choose which daemons to run
11db_input high torque/daemon_list || true
12db_go
13
14# Ask the user for server_name
15db_input high torque/server_name || true
16db_go
17
18# If the user wants daemons, ask for any options to be passed
19db_get torque/daemon_list
20for daemon in $RET; do
21    daemon=${daemon%,}
22    db_input medium torque/${daemon}_opts || true
23    db_go
24done
25
Note: See TracBrowser for help on using the repository browser.