summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Larson <slioch@eng-140.vyatta.com>2008-02-01 10:05:23 -0800
committerMichael Larson <slioch@eng-140.vyatta.com>2008-02-01 10:05:23 -0800
commitc0ed284eac3864aca1f72f07ed3679e7e3cf17f8 (patch)
treede0b7966b0534fd33c94a5ea5ff4d59f1f8c3ba0
parent1b4349fce41b93bc5965c39d1a9a33279a3ddfbb (diff)
downloadvyatta-wanloadbalance-c0ed284eac3864aca1f72f07ed3679e7e3cf17f8.tar.gz
vyatta-wanloadbalance-c0ed284eac3864aca1f72f07ed3679e7e3cf17f8.zip
fixed postinst for init script,+ other cleanup
-rw-r--r--Makefile.am4
-rw-r--r--debian/vyatta-wanloadbalance.postinst2
-rw-r--r--debian/vyatta-wanloadbalance.postrm4
-rw-r--r--debian/vyatta-wanloadbalance.postrm.in4
-rw-r--r--debian/vyatta-wanloadbalance/usr/share/doc/vyatta-wanloadbalance/changelog.gzbin1045 -> 0 bytes
5 files changed, 2 insertions, 12 deletions
diff --git a/Makefile.am b/Makefile.am
index 4ba01a8..864c0ad 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -6,8 +6,8 @@ AM_CPPFLAGS = -I src -Wall -DDEBUG
CLEANFILES = src/main.o src/lbdata.o src/lbdatafactory.o src/loadbalance.o src/rl_str_proc.o src/lbpathtest.o src/lboutput.o
-initd_SCRIPTS = scripts/vyatta-wanloadbalance.init
-sbin_SCRIPTS = scripts/vyatta-wanloadbalance.pl
+sbin_SCRIPTS = scripts/vyatta-wanloadbalance.init
+sbin_SCRIPTS += scripts/vyatta-wanloadbalance.pl
src_wan_lb_SOURCES = src/main.cc
src_wan_lb_SOURCES += src/lbdata.cc
diff --git a/debian/vyatta-wanloadbalance.postinst b/debian/vyatta-wanloadbalance.postinst
index 8c20985..60763b4 100644
--- a/debian/vyatta-wanloadbalance.postinst
+++ b/debian/vyatta-wanloadbalance.postinst
@@ -9,6 +9,4 @@ sysconfdir=${prefix}/etc
mkdir -p $LOADBALANCE_DIR
chmod 0755 $LOADBALANCE_DIR
-mv /etc/init.d/vyatta-wanloadbalance.init /etc/init.d/vyatta-wanloadbalance
-
#nothing
diff --git a/debian/vyatta-wanloadbalance.postrm b/debian/vyatta-wanloadbalance.postrm
index 262b9fe..05a7907 100644
--- a/debian/vyatta-wanloadbalance.postrm
+++ b/debian/vyatta-wanloadbalance.postrm
@@ -1,6 +1,2 @@
#!/bin/bash
-if [ "$1" = "purge" ]; then
- update-rc.d vyatta-ofr remove >/dev/null || exit $?
-fi
-
diff --git a/debian/vyatta-wanloadbalance.postrm.in b/debian/vyatta-wanloadbalance.postrm.in
index 262b9fe..05a7907 100644
--- a/debian/vyatta-wanloadbalance.postrm.in
+++ b/debian/vyatta-wanloadbalance.postrm.in
@@ -1,6 +1,2 @@
#!/bin/bash
-if [ "$1" = "purge" ]; then
- update-rc.d vyatta-ofr remove >/dev/null || exit $?
-fi
-
diff --git a/debian/vyatta-wanloadbalance/usr/share/doc/vyatta-wanloadbalance/changelog.gz b/debian/vyatta-wanloadbalance/usr/share/doc/vyatta-wanloadbalance/changelog.gz
deleted file mode 100644
index 9c3766e..0000000
--- a/debian/vyatta-wanloadbalance/usr/share/doc/vyatta-wanloadbalance/changelog.gz
+++ /dev/null
Binary files differ