# fireinfo
%nightly,random * 23-4 /usr/bin/sendprofile >/dev/null 2>&1
+
+# pakfire
+%nightly,random * 23-4 /usr/local/bin/pakfire update >/dev/null 2>&1
tar xvf /opt/pakfire/tmp/files --preserve --numeric-owner -C / \
--no-overwrite-dir
+# Re-read crontab
+fcrontab -z
+
+# Remove old pakfire cronjob.
+rm -f /etc/fcron.daily/pakfire-update
+
# Convert /etc/fstab entries to UUID ...
#
echo Convert fstab entries to UUID ...
mv -vf $(DIR_APP)/pakfire.conf $(DIR_APP)/etc/
chown root.root $(DIR_APP) -R
chmod 755 $(DIR_APP)/pakfire
-
- ln -sf ../../opt/pakfire/pakfire /etc/fcron.daily/pakfire-update
-
touch /var/log/pakfire.log
chown root.nobody /var/log/pakfire.log
chmod 664 /var/log/pakfire.log