On 9/22/10 4:52 PM, KP Kirchdoerfer wrote: > Hi Shorewall team; > > Am Dienstag, 21. September 2010, 17:50:31 schrieb Tom Eastep: >> The Shorewall team is pleased to announce the availability of Shorewall >> 4.4.13. > > I've build a new 4.4.13 based package for the LEAF distribution and did some > preliminary tests in my qemu test environment. > > I see a small annoyance with date in shorewall.log (pls note: I've seen this > with earlier shorewall versions as well, so it's nothing new to 4.4.13): > > "Sep 22 23:40:57 Shorewall configuration compiled to /var/lib/shorewall/.start > Sep %_d 23:40:57 Processing /etc/shorewall/params..." > > No big deal, just in case if you have a quick hint/idea/fix.
KP, Try the attached patch... -Tom -- Tom Eastep \ When I die, I want to go like my Grandfather who Shoreline, \ died peacefully in his sleep. Not screaming like Washington, USA \ all of the passengers in his car http://shorewall.net \________________________________________________
diff --git a/Shorewall/Perl/prog.header b/Shorewall/Perl/prog.header
index 3d85d6b..786f6d4 100644
--- a/Shorewall/Perl/prog.header
+++ b/Shorewall/Perl/prog.header
@@ -43,7 +43,7 @@ progress_message() # $* = Message
fi
if [ $LOG_VERBOSITY -gt 1 ]; then
- timestamp="$(date +'%b %_d %T') "
+ timestamp="$(date +'%b %d %T') "
echo "${timestamp}$@" >> $STARTUP_LOG
fi
}
@@ -59,7 +59,7 @@ progress_message2() # $* = Message
fi
if [ $LOG_VERBOSITY -gt 0 ]; then
- timestamp="$(date +'%b %_d %T') "
+ timestamp="$(date +'%b %d %T') "
echo "${timestamp}$@" >> $STARTUP_LOG
fi
}
@@ -75,7 +75,7 @@ progress_message3() # $* = Message
fi
if [ $LOG_VERBOSITY -ge 0 ]; then
- timestamp="$(date +'%b %_d %T') "
+ timestamp="$(date +'%b %d %T') "
echo "${timestamp}$@" >> $STARTUP_LOG
fi
}
diff --git a/Shorewall/Perl/prog.header6 b/Shorewall/Perl/prog.header6
index 979a6ad..c8e3a43 100644
--- a/Shorewall/Perl/prog.header6
+++ b/Shorewall/Perl/prog.header6
@@ -43,7 +43,7 @@ progress_message() # $* = Message
fi
if [ $LOG_VERBOSITY -gt 1 ]; then
- timestamp="$(date +'%b %_d %T') "
+ timestamp="$(date +'%b %d %T') "
echo "${timestamp}$@" >> $STARTUP_LOG
fi
}
@@ -59,7 +59,7 @@ progress_message2() # $* = Message
fi
if [ $LOG_VERBOSITY -gt 0 ]; then
- timestamp="$(date +'%b %_d %T') "
+ timestamp="$(date +'%b %d %T') "
echo "${timestamp}$@" >> $STARTUP_LOG
fi
}
@@ -75,7 +75,7 @@ progress_message3() # $* = Message
fi
if [ $LOG_VERBOSITY -ge 0 ]; then
- timestamp="$(date +'%b %_d %T') "
+ timestamp="$(date +'%b %d %T') "
echo "${timestamp}$@" >> $STARTUP_LOG
fi
}
diff --git a/Shorewall/lib.cli b/Shorewall/lib.cli
index 9cd8985..0b9be5d 100644
--- a/Shorewall/lib.cli
+++ b/Shorewall/lib.cli
@@ -1321,7 +1321,7 @@ hits_command() {
option=
;;
t*)
- today=$(date +'^%b %_d.*')
+ today=$(date +'^%b %d.*')
option=${option#t}
;;
*)
diff --git a/Shorewall6/lib.cli b/Shorewall6/lib.cli
index bb92dd8..d48da38 100644
--- a/Shorewall6/lib.cli
+++ b/Shorewall6/lib.cli
@@ -1028,7 +1028,7 @@ hits_command() {
option=
;;
t*)
- today=$(date +'^%b %_d.*')
+ today=$(date +'^%b %d.*')
option=${option#t}
;;
*)
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
