File: discoveryd

package info (click to toggle)
open-isns 0.101-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,440 kB
  • sloc: ansic: 19,981; sh: 3,211; python: 1,083; perl: 839; makefile: 214
file content (17 lines) | stat: -rwxr-xr-x 511 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

set -e

. debian/tests/functions.inc

# Remove auth key, we want to do a simple test with an
# unauthenticated discoveryd.
rm -f /etc/isns/auth_key /etc/isns/auth_key.pub
service isnsd restart

# Install the discovery daemon, tell it to use localhost
# as the iSNS server.
printf '%s\t%s\t%s\t%s\n' open-isns-discoveryd open-isns-discoveryd/isns-server string 127.0.0.1 | debconf-set-selections
DEBIAN_FRONTEND=noninteractive apt-get -y install open-isns-discoveryd </dev/null

service_status isnsdd