Am Montag, den 03.07.2006, 05:29 +0200 schrieb coredump commit: > ============================================================ > --- packages/initscripts/initscripts-1.0/halt > 416938fe3f878017f0f6bdc706948ba96c65407e > +++ packages/initscripts/initscripts-1.0/halt > b15498a14772599f4dfc0c61bb09691e3e23a670 > @@ -7,12 +7,6 @@ > > PATH=/sbin:/bin:/usr/sbin:/usr/bin > > -# Update the timestamp, if there is already one > -if test -e /etc/timestamp > -then > - date +%2m%2d%2H%2M%Y > /etc/timestamp > -fi > - > # See if we need to cut the power. > if test -x /etc/init.d/ups-monitor > then >============================================================ > --- packages/initscripts/initscripts-1.0/save-rtc.sh > +++ packages/initscripts/initscripts-1.0/save-rtc.sh > 353d869c5dce5dc015a458b99ee7526623ac136b > @@ -0,0 +1,16 @@ > +#! /bin/sh > +# > +# Copyright Matthias Hentges <[EMAIL PROTECTED]> (c) 2006 > +# License: GPL (see http://www.gnu.org/licenses/gpl.txt for a copy of the > license) > +# > +# Filename: save-rtc.sh > +# Date: 03-Jul-06 > + > + > +# Update the timestamp, if there is already one > +if test -e /etc/timestamp > +then > + echo "Will restore RCT from /etc/timestamp on next boot" > + echo "Delete that file to disable this feature." > + date +%2m%2d%2H%2M%Y > /etc/timestamp > +fi > ============================================================
Is it really necessary to append a GPL header for that? It may be just a couple of bytes, but I consider this a waste of space in an initscript. Besides, I didn't add a license on purpose, when I added the original bits to initscripts/halt... -- Regards, Michael 'Mickey' Lauer | FreeLancer | http://www.Vanille-Media.de _______________________________________________ Oe mailing list [email protected] https://www.handhelds.org/mailman/listinfo/oe
