Browse Source

Fix menutest script, bump menu-priority of -dhcp since it will be used more often than -static. we presume

r1250
master
Tollef Fog Heen 21 years ago
parent
commit
6b007b5385
  1. 5
      debian/changelog
  2. 2
      debian/control
  3. 5
      debian/menutest-common

5
debian/changelog

@ -7,8 +7,11 @@ netcfg (0.19) unstable; urgency=low
* André Luís Lopes
- Set pt_BR.po control fields.
- Update pt_BR translation.
* Fix menutest script
* Make -dhcp have higher priority than -static, since we presume more people
will be using that.
-- Tollef Fog Heen <tfheen@debian.org> Fri, 8 Nov 2002 14:37:46 +0100
-- Tollef Fog Heen <tfheen@debian.org> Wed, 13 Nov 2002 02:12:35 +0100
netcfg (0.18) unstable; urgency=low

2
debian/control

@ -24,7 +24,7 @@ Package: netcfg-static
Architecture: any
Depends: ${shlibs:Depends}, cdebconf-udeb
Provides: configured-network
XB-Installer-Menu-Item: 3
XB-Installer-Menu-Item: 4
Description: Configure a static network
If you have information such as IP address, netmask, gateway, then you will be
able to configure a static network. If you don't know this information, you

5
debian/menutest-common

@ -1,7 +1,8 @@
#!/bin/sh
if [ -n "`cat /proc/net/dev | sed -e "s/lo://" | grep "[a-z0-9]*:[ ]*[0-9]*"`" ] ; then
if [ -z "`grep -v '^Iface' /proc/net/route | grep '^eth[0-9]'`" ]; then
exit 0
else
exit 1
fi
fi
exit 1

Loading…
Cancel
Save