summaryrefslogtreecommitdiff
path: root/debian/postinst
blob: 75176e6de88f75c8c0dae98dca6bade394e91cf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash

NC="/etc/irbox.conf"

TWEAK="no"

# only do this stuff if we're being called to configure a package
if [ "$1" != "configure" ]
then
	exit 0
fi

# make sure we have an /etc/irbox.conf 
if [ -f $NC ]
then
	echo "An /etc/irbox.conf file already exists, and will be used to"
	echo "configure irboxd.  You may wish to review the contents of this"
	echo "file for accuracy."
	echo ""
else
	start-stop-daemon --stop --quiet --exec /usr/bin/irbox
fi

#DEBHELPER#