projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgrade to tiff-4.0.3
[hvlinux.git]
/
stage3
/
pkg
/
fcron
diff --git
a/stage3/pkg/fcron
b/stage3/pkg/fcron
index
46bd07d
..
6ecb6d5
100644
(file)
--- a/
stage3/pkg/fcron
+++ b/
stage3/pkg/fcron
@@
-2,8
+2,8
@@
hvconfig_pre()
{
hvconfig_pre()
{
- groupadd -f fcron
- hv_useradd -c fcron -g fcron fcron
+ groupadd -
-system -
f fcron
+ hv_useradd -
-system -
c fcron -g fcron fcron
# Create a dummy sendmail executable to fool fcron
DUMMY_SM_PATH=/usr/sbin/sendmail
# Create a dummy sendmail executable to fool fcron
DUMMY_SM_PATH=/usr/sbin/sendmail
@@
-13,7
+13,7
@@
hvconfig_pre()
chmod 755 ${DUMMY_SM_PATH}
fi
chmod 755 ${DUMMY_SM_PATH}
fi
- CONFIGURE_OPTS
="${CONFIGURE_OPTS}
\
+ CONFIGURE_OPTS
+="
\
--with-editor=/usr/bin/nano \
--with-boot-install=no \
--with-answer-all=no"
--with-editor=/usr/bin/nano \
--with-boot-install=no \
--with-answer-all=no"
@@
-57,7
+57,7
@@
editor = /usr/bin/nano
EOF
chmod 640 /etc/fcron/fcron.conf
EOF
chmod 640 /etc/fcron/fcron.conf
- install -d /var/spool/fcron
+ install -
v -
d /var/spool/fcron
chown fcron.fcron /var/spool/fcron
cat > /etc/fcron/configure << "EOF"
chown fcron.fcron /var/spool/fcron
cat > /etc/fcron/configure << "EOF"
@@
-70,6
+70,7
@@
for f in /etc/fcron/fcron.d/*; do
cat $f >> /etc/fcron/fcron.tab
done
cat $f >> /etc/fcron/fcron.tab
done
+chown -R root:fcron /etc/fcron
chmod 640 /etc/fcron/fcron.tab
fcrontab -c /etc/fcron/fcron.conf /etc/fcron/fcron.tab
chmod 640 /etc/fcron/fcron.tab
fcrontab -c /etc/fcron/fcron.conf /etc/fcron/fcron.tab
@@
-85,4
+86,6
@@
EOF
# script-name start stop
bootscript_add_rcsysinit fcron 95 84
# script-name start stop
bootscript_add_rcsysinit fcron 95 84
+
+ install -v -m644 ${SCRDIR}/misc/fcron.d/* /etc/fcron/fcron.d
}
}