summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2009-04-23 17:03:33 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2009-04-23 17:03:33 +0000
commiteac0cbfa43813b0edd86a4bd490e3bbfaae4f316 (patch)
treef1a6a20ad03e80949b7697ae1bb9d9d092fa7cd3
parent286cae31f8b59dfe8ae100f1c7e2e1ecdfbd3f68 (diff)
xpp: xpp_order is another config file that should go to /etc/dahdi
Also slightly fix the sample config. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6476 a0bf4364-ded3-4de4-8d8a-66a801d63aff
-rw-r--r--Makefile4
-rw-r--r--xpp/xpp_order4
2 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 172d184..d30fade 100644
--- a/Makefile
+++ b/Makefile
@@ -70,6 +70,7 @@ endif
RCCONF_FILE = /etc/dahdi/init.conf
MODULES_FILE = /etc/dahdi/modules
GENCONF_FILE = /etc/dahdi/genconf_parameters
+XPP_ORDER_FILE = /etc/dahdi/xpp_order
MODPROBE_FILE = /etc/modprobe.d/dahdi
BLACKLIST_FILE = /etc/modprobe.d/dahdi.blacklist
@@ -280,6 +281,9 @@ endif
ifeq (,$(wildcard $(DESTDIR)$(GENCONF_FILE)))
$(INSTALL) -D -m 644 xpp/genconf_parameters $(DESTDIR)$(GENCONF_FILE)
endif
+ifeq (,$(wildcard $(DESTDIR)$(XPP_ORDER_FILE)))
+ $(INSTALL) -D -m 644 xpp/xpp_order $(DESTDIR)$(XPP_ORDER_FILE)
+endif
ifeq (,$(wildcard $(DESTDIR)$(MODPROBE_FILE)))
$(INSTALL) -D -m 644 modprobe.conf.sample $(DESTDIR)$(MODPROBE_FILE)
endif
diff --git a/xpp/xpp_order b/xpp/xpp_order
index 0345350..dc1bc47 100644
--- a/xpp/xpp_order
+++ b/xpp/xpp_order
@@ -11,11 +11,11 @@
# Ordering number of each listed Astribank is determined
# by its position in this file.
# Astribanks not listed in this file, get an ordering
-# number of 999 (last).
+# number of 99 (last).
#
# Astribanks with same ordering number are sorted by their
# connectors (to preserve legacy behaviour).
#
# Examples:
-#usb:TWS-08
+#usb:1234
#@usb-0000:06:02.2-2