On Wed, Jan 11, 2012 at 06:07:21PM -0200, Henrique de Moraes Holschuh wrote:
> On Wed, 11 Jan 2012, Roger Leigh wrote:
> > One problem mentioned in a few bugreports is the handling of
> > updates to /etc/default/rcS.  Because it's not a conffile, we
> > don't provide updates to it.  While there are good reasons for
> > this approach, I was thinking of ways of improving the situation.
> > 
> > While we don't want to lose any user customisation of this file,
> > would it make sense to update the file to the latest version if
> > it hasn't been modified?  We can do this quite simply: take the
> 
> Better check ucf, no reason to reinvent the wheel...

I've attached a patch to do this.  I haven't used ucf before, and
didn't realise it was equivalent.  Is this OK with you?


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.
diff --git a/debian/initscripts.ucf b/debian/initscripts.ucf
new file mode 100644
index 0000000..b857a98
--- /dev/null
+++ b/debian/initscripts.ucf
@@ -0,0 +1 @@
+/etc/default/rcS /usr/share/initscripts/default.rcS
diff --git a/debian/src/initscripts/share/default.rcS.md5sum b/debian/src/initscripts/share/default.rcS.md5sum
new file mode 100644
index 0000000..c81034a
--- /dev/null
+++ b/debian/src/initscripts/share/default.rcS.md5sum
@@ -0,0 +1,13 @@
+d4cdbf0856e631df5af728924589c0aa  2.86.ds1-1.2-36-g07bc3cb original
+e767f1647e1c30a0df65c479d4766505  2.86.ds1-1.2-20-gfbfe78b
+b5e3874a10bf5f6929f0467330253650  2.86.ds1-4-13-gff1edc9
+3ced6e4b5c0ad0843c6ec7f05a241010  2.86.ds1-6-152-g2fe0295
+003a3a625ee1159b7845447cc8082cd5  2.86.ds1-6-209-g37e718c
+1e00aed9c2b3921c649c2aadcfd5c543  2.86.ds1-8-20-g270d78a
+dd81e120c60921bed476d863bf55123d  2.86.ds1-8-70-g84e6c9e
+8847521ab9e6dc46ed8182f9e8deeda2  2.86.ds1-8-72-g1ede826
+3ae1cdb6091b6423926e62e025e47621  2.86.ds1-8-93-ge2a645d  2.86.ds1-15-34-gd24b183
+ebe92767da38e2be8f89a694aadcbbe3  2.86.ds1-10-36-gbc81006
+3944912056327e3a533c0bd31a8f330d  2.86.ds1-22-1-gcdd6358
+c2364ab7dda1da1bb80c4eebf63580b3  2.86.ds1-22-8-ga0085f5  2.87dsf-4-5-g87dea6a  previous
+94922d77c255c019c828392b500b73cb  2.88dsf-18-14-g06d3a1c 2.88dsf-13-6-g3bec148  current
_______________________________________________
Pkg-sysvinit-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-sysvinit-devel

Reply via email to