summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/rrd_stats/rrd_stats.install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-10-23 18:17:40 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-10-23 18:19:39 (GMT)
commitadbcf19958300e9b6598990184c8815b945ba0ee (patch)
treef4283c850ac0ac202c17e78a637ee7ca8147621b /abs/extra-testing/rrd_stats/rrd_stats.install
parent61a68250df10d29b624650948484898334ff22d0 (diff)
downloadlinhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.zip
linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.gz
linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.bz2
Removed old core and extra from repo. Renamed -testing to core/extra. This will setup the base for the testing branch.
Diffstat (limited to 'abs/extra-testing/rrd_stats/rrd_stats.install')
-rw-r--r--abs/extra-testing/rrd_stats/rrd_stats.install34
1 files changed, 0 insertions, 34 deletions
diff --git a/abs/extra-testing/rrd_stats/rrd_stats.install b/abs/extra-testing/rrd_stats/rrd_stats.install
deleted file mode 100644
index 126e4f0..0000000
--- a/abs/extra-testing/rrd_stats/rrd_stats.install
+++ /dev/null
@@ -1,34 +0,0 @@
-post_install() {
- PFIX="/data/srv/httpd/htdocs/rrd"
- if [ ! -e $PFIX/index.html.orig ]
- then
- mv $PFIX/index.html $PFIX/index.html.orig
- ln -s $PFIX/index-rrd.html $PFIX/index.html
- fi
-
- ct=`crontab -l`
- echo $ct | grep -q run_rrd.sh
- if [ $? != 0 ]
- then
- line="*/5 * * * * /usr/bin/run_rrd.sh > /dev/null"
- (crontab -l; echo "$line") | crontab -
- fi
-
-
-}
-
-post_upgrade() {
- post_install $1
-}
-
-
-pre_remove() {
- crontab -l | grep -v run_rrd | crontab -
- PFIX="/data/srv/httpd/htdocs/rrd"
- if [ -e $PFIX/index.html.orig ]
- then
- rm $PFIX/index.html
- mv $PFIX/index.html.orig $PFIX/index.html
- fi
-
-}