+
+ # Create directory and file for logging.
+ -mkdir -pv /var/log/guardian
+ touch /var/log/guardian/guardian.log
+
+ #install initscripts
+ $(call INSTALL_INITSCRIPT,guardian)
+
+ # Create symlinks for runlevel interaction.
+ ln -svf /etc/rc.d/init.d/guardian /etc/rc.d/rc3.d/S45guardian
+ ln -svf /etc/rc.d/init.d/guardian /etc/rc.d/rc0.d/K76guardian
+ ln -svf /etc/rc.d/init.d/guardian /etc/rc.d/rc6.d/K76guardian
+
+ # Install include file for backup.
+ install -v -m 644 $(DIR_SRC)/config/backup/includes/guardian \
+ /var/ipfire/backup/addons/includes/guardian
+
+ # Logrotate.
+ -mkdir -pv /etc/logrotate.d
+ install -v -m 644 $(DIR_SRC)/config/guardian/guardian.logrotate \
+ /etc/logrotate.d/guardian
+
+ # Install addon-specific language-files.
+ install -v -m 004 $(DIR_SRC)/config/guardian/guardian.*.pl \
+ /var/ipfire/addon-lang/
+
+ @rm -rf $(DIR_APP)