Revision 23124,
537 bytes
checked in by ghudson, 16 years ago
(diff) |
In dns-config:
* Add boot script to provide mit.edu as search path.
* Add postinst handler to restart bind9 and run boot script.
configure)
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | # |
---|
3 | ### BEGIN INIT INFO |
---|
4 | # Provides: debathena-dns-config |
---|
5 | # Required-Start: resolvconf |
---|
6 | # Default-Start: 2 3 4 5 |
---|
7 | # Short-Description: Debathena DNS configuration for MIT |
---|
8 | # Description: This service provides a mit.edu search path to |
---|
9 | # resolvconf. |
---|
10 | ### END INIT INFO |
---|
11 | # |
---|
12 | # This script is part of the debathena-dns-config package |
---|
13 | # See /usr/share/doc/debathena-dns-config/copyright |
---|
14 | |
---|
15 | [ -x /sbin/resolvconf ] || exit 0 |
---|
16 | |
---|
17 | case "$1" in |
---|
18 | start) |
---|
19 | echo "search mit.edu" | /sbin/resolvconf -a mit |
---|
20 | ;; |
---|
21 | esac |
---|
Note: See
TracBrowser
for help on using the repository browser.