debian/ubuntu init script
Can I recommend you introduce something like the following patch (taken straight from the ubuntu skeleton file), which will source /etc/default/bird if it is present. This will remove the need for me to fiddle with my /etc/init.d/bird file. Similar considerations presumably apply for the bird6 init file. -- Alex Bligh diff -u etc/init.d/bird{.orig,} --- etc/init.d/bird.orig 2011-05-02 19:33:41.363090697 +0100 +++ etc/init.d/bird 2011-08-18 08:39:01.952013376 +0100 @@ -25,6 +25,9 @@ # Exit if the package is not installed [ -x "$DAEMON" ] || exit 0 +# Read configuration variable file if it is present +[ -r /etc/default/$NAME ] && . /etc/default/$NAME + # Load the VERBOSE setting and other rcS variables . /lib/init/vars.sh
On Thu, Aug 18, 2011 at 08:43:05AM +0100, Alex Bligh wrote:
Can I recommend you introduce something like the following patch (taken straight from the ubuntu skeleton file), which will source /etc/default/bird if it is present. This will remove the need for me to fiddle with my /etc/init.d/bird file.
Fixed. -- Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
--On 18 August 2011 11:48:25 +0200 Ondrej Zajicek <santiago@crfreenet.org> wrote:
On Thu, Aug 18, 2011 at 08:43:05AM +0100, Alex Bligh wrote:
Can I recommend you introduce something like the following patch (taken straight from the ubuntu skeleton file), which will source /etc/default/bird if it is present. This will remove the need for me to fiddle with my /etc/init.d/bird file.
Fixed.
Thanks. If you could do bird6 too, that would be fantastic. -- Alex Bligh
--On 18 August 2011 13:44:52 +0100 Alex Bligh <alex@alex.org.uk> wrote:
--On 18 August 2011 11:48:25 +0200 Ondrej Zajicek <santiago@crfreenet.org> wrote:
On Thu, Aug 18, 2011 at 08:43:05AM +0100, Alex Bligh wrote:
Can I recommend you introduce something like the following patch (taken straight from the ubuntu skeleton file), which will source /etc/default/bird if it is present. This will remove the need for me to fiddle with my /etc/init.d/bird file.
Fixed.
Thanks. If you could do bird6 too, that would be fantastic.
I can't find where in the repo these are, but it doesn't seem to have made it to debian unless I am being dumb - here's a direct patch if that helps -- Alex Bligh --- debian/bird.init.d.orig 2011-09-03 12:31:10.318508640 +0100 +++ debian/bird.init.d 2011-08-18 13:30:20.818510228 +0100 @@ -22,6 +22,9 @@ # Exit if the package is not installed [ -x "$DAEMON" ] || exit 0 +# Read configuration variable file if it is present +[ -r /etc/default/$NAME ] && . /etc/default/$NAME + # Load the VERBOSE setting and other rcS variables . /lib/init/vars.sh --- debian/bird6.init.d.orig 2011-09-03 12:31:10.318508640 +0100 +++ debian/bird6.init.d 2011-08-18 13:30:20.818510228 +0100 @@ -22,6 +22,9 @@ # Exit if the package is not installed [ -x "$DAEMON" ] || exit 0 +# Read configuration variable file if it is present +[ -r /etc/default/$NAME ] && . /etc/default/$NAME + # Load the VERBOSE setting and other rcS variables . /lib/init/vars.sh
On Sat, Sep 03, 2011 at 12:37:55PM +0100, Alex Bligh wrote:
--On 18 August 2011 13:44:52 +0100 Alex Bligh <alex@alex.org.uk> wrote:
--On 18 August 2011 11:48:25 +0200 Ondrej Zajicek <santiago@crfreenet.org> wrote:
On Thu, Aug 18, 2011 at 08:43:05AM +0100, Alex Bligh wrote:
Can I recommend you introduce something like the following patch (taken straight from the ubuntu skeleton file), which will source /etc/default/bird if it is present. This will remove the need for me to fiddle with my /etc/init.d/bird file.
Fixed.
Thanks. If you could do bird6 too, that would be fantastic.
I can't find where in the repo these are, but it doesn't seem to have made it to debian unless I am being dumb - here's a direct patch if that helps
Probably the packages just weren't updated. Now, both the official Debian sid and our Squeeze backports packages have that (for both bird and bird6): http://ftp.debian.org/debian/pool/main/b/bird/bird_1.3.3-1_i386.deb ftp://bird.network.cz/pub/bird/debian/dists/squeeze/main/binary-i386/net/bird_1.3.3-1~bpo60+1_i386.deb -- Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
Ondrej, --On 14 September 2011 11:42:10 +0200 Ondrej Zajicek <santiago@crfreenet.org> wrote:
Probably the packages just weren't updated. Now, both the official Debian sid and our Squeeze backports packages have that (for both bird and bird6):
http://ftp.debian.org/debian/pool/main/b/bird/bird_1.3.3-1_i386.deb
ftp://bird.network.cz/pub/bird/debian/dists/squeeze/main/binary-i386/net/ bird_1.3.3-1~bpo60+1_i386.deb
Thanks -- Alex Bligh
participants (2)
-
Alex Bligh -
Ondrej Zajicek