]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
functions.pl: pakfir cleanup
authorAdolf Belka <adolf.belka@ipfire.org>
Sat, 28 Jun 2025 13:48:49 +0000 (15:48 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 29 Jun 2025 16:02:17 +0000 (16:02 +0000)
- I wondered what was supposed to be in the pakfire.log file that has always been empty
   so I had a look around and discovered that it has been commented out since CU30
- So this patch removes that commented out line and the other patches in this set
   remove the creation of the empty pakfire.log file and stop it being restored etc

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/pakfire/lib/functions.pl

index 2f172c3988c237b43e7669822478d967bb41badd..e2c6463132517ad44e501fb9c880c9f6bfe000fd 100644 (file)
@@ -2,7 +2,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2022   IPFire Team   <info@ipfire.org>                   #
+# Copyright (C) 2007-2025   IPFire Team   <info@ipfire.org>                   #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -105,7 +105,6 @@ sub message {
 sub logger {
        my $log = shift;
        if ($log) {
-               #system("echo \"`date`: $log\" >> /var/log/pakfire.log");
                system("logger -t pakfire \"$log\"");
        }
 }