projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Harmonise les bootscripts (daemon)
[hvlinux.git]
/
stage2
/
install-hv-utilities
diff --git
a/stage2/install-hv-utilities
b/stage2/install-hv-utilities
index
7fa350c
..
1a4d46f
100755
(executable)
--- a/
stage2/install-hv-utilities
+++ b/
stage2/install-hv-utilities
@@
-1,12
+1,6
@@
#!/bin/bash
#!/bin/bash
-set -o errexit
-# First argument of this script is the package name
-
-# Reading system configuration informations, functions and package versions.
-source ../sysinfos
-source ../functions
-source ../packages-list
+source ../functions/main
SRCDIR="./hv-utilities"
PREFIX="/usr/local"
SRCDIR="./hv-utilities"
PREFIX="/usr/local"
@@
-21,4
+15,8
@@
for program in ${BIN_UTILITIES}; do
install -v ${SRCDIR}/${program} ${BINDIR}
done
install -v ${SRCDIR}/${program} ${BINDIR}
done
+# Install fcrontab for rotatelogs
+echo "# Rotate logs every day at 00:05" > /etc/fcron/fcron.d/rotatelogs
+echo "&mail(false) 05 00 * * * ${BINDIR}/rotatelogs" >> /etc/fcron/fcron.d/rotatelogs
+
exit $?
exit $?