aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@mandriva.com>2010-03-01 17:06:50 -0300
committerEugeni Dodonov <eugeni@mandriva.com>2010-03-01 17:06:50 -0300
commitc4af7c451b9b3eb0fa313813a29c5ab6a3bee74a (patch)
tree7ff0473f99b2c8cbfc86ca9fa5d6f41ce6136cec
parent4f6d983ffa7ab621a4abef4ba043b42d14026ecb (diff)
downloadnet_monitor-c4af7c451b9b3eb0fa313813a29c5ab6a3bee74a.tar
net_monitor-c4af7c451b9b3eb0fa313813a29c5ab6a3bee74a.tar.gz
net_monitor-c4af7c451b9b3eb0fa313813a29c5ab6a3bee74a.tar.bz2
net_monitor-c4af7c451b9b3eb0fa313813a29c5ab6a3bee74a.tar.xz
net_monitor-c4af7c451b9b3eb0fa313813a29c5ab6a3bee74a.zip
installing network accounting scripts
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index bb40419..1beb232 100644
--- a/Makefile
+++ b/Makefile
@@ -15,6 +15,10 @@ clean:
install: all
python setup.py install --root=$(RPM_BUILD_ROOT)
+ install -d /etc/sysconfig/network-scripts/ifup.d
+ install -d /etc/sysconfig/network-scripts/ifdown.d
+ install -m755 scripts/netmonitor_up $(RPM_BUILD_ROOT)/etc/sysconfig/network-scripts/ifup.d/
+ install -m755 scripts/netmonitor_down $(RPM_BUILD_ROOT)/etc/sysconfig/network-scripts/ifdown.d/
cleandist:
rm -rf $(PACKAGE)-$(VERSION) $(PACKAGE)-$(VERSION).tar.bz2