[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#619114: /usr/share/udhcpc/default.script has no override in /etc



Package: udhcpc
Version: 1:1.17.1-8
Severity: normal


In Lenny I had /etc/udhcpc/default.script which I used to override 
/usr/share/udhcpc/default.script. This allowed me to add my own custom
scripts that did things of interest to me.

Since my upgrade to squeeze my scripts have not been executing.

I recognise the presence of the -s option to override
/usr/share/udhcpc/default.script but there appears to be nothing
about the options available for inet dhcp in /etc/network/interfaces
that allows me to specify it.

A good way out of this, imo, would be to have busybox check for
/usr/share/udhcpc/default.script and run that. If it's not present
then run /usr/share/udhcpc/default.script. If -s is given then
that would override all.

This would preserve current behaviour except for where one would 
come from Lenny where the old behaviour would be preserved. It
would also allow one to have a default custom config should one
choose.

-- System Information:
Debian Release: 6.0
Architecture: i386 (i686)

Kernel: Linux 2.6.37.3-wb.20110313-182945 (PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages udhcpc depends on:
ii  busybox                       1:1.17.1-8 Tiny utilities for small and embed

udhcpc recommends no packages.

udhcpc suggests no packages.

-- Configuration Files:
/etc/udhcpc/default.script changed [not included]

-- no debconf information



Reply to: