View | Details | Raw Unified | Return to bug 27829 | Differences between
and this patch

Collapse All | Expand All

(-)a/branches/ucs-3.0/ucs/base/univention-network-manager/conffiles/etc/dhcp/dhclient.conf (-6 / +9 lines)
 Lines 13-18    Link Here 
13
#	few changes must be made to this file, if any.
13
#	few changes must be made to this file, if any.
14
#
14
#
15
15
16
option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;
17
16
@!@
18
@!@
17
if configRegistry.is_true('dhclient/options/ddns', False):
19
if configRegistry.is_true('dhclient/options/ddns', False):
18
    print 'send host-name "%s";' % configRegistry.get('hostname', '')
20
    print 'send host-name "%s";' % configRegistry.get('hostname', '')
 Lines 21-29   if configRegistry.is_true('dhclient/options/ddns', False): Link Here 
21
    else:
23
    else:
22
        print 'send fqdn.fqdn "%s.%s";' % (configRegistry.get('hostname', ''), configRegistry.get('domainname', ''))
24
        print 'send fqdn.fqdn "%s.%s";' % (configRegistry.get('hostname', ''), configRegistry.get('domainname', ''))
23
    if configRegistry.is_true('dhclient/options/ddns/serverupdate', True):
25
    if configRegistry.is_true('dhclient/options/ddns/serverupdate', True):
24
    	print 'send fqdn.server-update on;'
26
        print 'send fqdn.server-update on;'
25
    else:
27
    else:
26
    	print 'send fqdn.server-update off;'
28
        print 'send fqdn.server-update off;'
27
    print 'send fqdn.encoded on;'
29
    print 'send fqdn.encoded on;'
28
@!@
30
@!@
29
#send host-name "andare.fugue.com";
31
#send host-name "andare.fugue.com";
 Lines 32-46   if configRegistry.is_true('dhclient/options/ddns', False): Link Here 
32
#supersede domain-name "fugue.com home.vix.com";
34
#supersede domain-name "fugue.com home.vix.com";
33
#prepend domain-name-servers 127.0.0.1;
35
#prepend domain-name-servers 127.0.0.1;
34
request subnet-mask, broadcast-address, time-offset, routers,
36
request subnet-mask, broadcast-address, time-offset, routers,
35
	domain-name, domain-name-servers, host-name,
37
	domain-name, domain-name-servers, domain-search, host-name,
36
	netbios-name-servers, netbios-scope, interface-mtu;
38
	netbios-name-servers, netbios-scope, interface-mtu,
39
	rfc3442-classless-static-routes, ntp-servers;
37
#require subnet-mask, domain-name-servers;
40
#require subnet-mask, domain-name-servers;
38
@!@
41
@!@
39
print 'timeout %s;' % configRegistry.get( 'dhclient/options/timeout', '30' )
42
print 'timeout %s;' % configRegistry.get( 'dhclient/options/timeout', '30' )
40
print 'retry %s;' % configRegistry.get( 'dhclient/options/retry', '60' )
43
print 'retry %s;' % configRegistry.get( 'dhclient/options/retry', '60' )
41
@!@
44
@!@
42
# reboot + timout should be below the 45 secs that NetworkManager waits before terminating dhclient, otherwise fallback script is not run
45
# reboot + timout should be below the 45 secs that NetworkManager waits before terminating dhclient, otherwise fallback script is not run
43
reboot 5;	
46
reboot 5;
44
#select-timeout 5;
47
#select-timeout 5;
45
#initial-interval 2;
48
#initial-interval 2;
46
#script "/etc/dhcp3/dhclient-script";
49
#script "/etc/dhcp3/dhclient-script";
 Lines 78-84   if configRegistry.is_true('dhclient/linklocal/fallback', True): Link Here 
78
			iface = k.split('/')[1]
81
			iface = k.split('/')[1]
79
			r1 = random.randrange(0, 255) # 0 to 254
82
			r1 = random.randrange(0, 255) # 0 to 254
80
			r2 = random.randrange(0, 255) # 0 to 254
83
			r2 = random.randrange(0, 255) # 0 to 254
81
		
84
82
			d = datetime.fromtimestamp(time.time() + (6*3600)) # expire in six hours
85
			d = datetime.fromtimestamp(time.time() + (6*3600)) # expire in six hours
83
86
84
			print 'lease {'
87
			print 'lease {'
(-)a/branches/ucs-3.0/ucs/base/univention-network-manager/debian/changelog (+9 lines)
 Lines 1-3    Link Here 
1
univention-network-manager (3.0.23-1) unstable; urgency=low
2
3
  * Transition from /etc/dhcp3/ to /etc/dhcp/ (Bug #27829)
4
  * Move common data to univention-network-common.
5
  * Update /etc/dhcp/dhclient.conf template from lates Debian file.
6
  * Move debug files to /var/run/ to prevent symlink attack.
7
8
 -- Philipp Hahn <hahn@univention.de>  Wed, 04 Jul 2012 20:29:33 +0200
9
1
univention-network-manager (3.0.21-1) unstable; urgency=low
10
univention-network-manager (3.0.21-1) unstable; urgency=low
2
11
3
  * added differentiation between server side ddns and
12
  * added differentiation between server side ddns and
(-)a/branches/ucs-3.0/ucs/base/univention-network-manager/debian/control (+4 lines)
 Lines 26-31   Package: univention-ifplugd Link Here 
26
Architecture: all
26
Architecture: all
27
Conflicts: network-manager,
27
Conflicts: network-manager,
28
 univention-network-manager
28
 univention-network-manager
29
Pre-Depends: dpkg (>= 1.15.7.2)
29
Depends: ${misc:Depends},
30
Depends: ${misc:Depends},
30
 univention-network-common,
31
 univention-network-common,
31
 ifplugd,
32
 ifplugd,
 Lines 41-48   Description: UCS - Support for ifplugd Link Here 
41
Package: univention-network-common
42
Package: univention-network-common
42
Architecture: all
43
Architecture: all
43
Depends: ${misc:Depends},
44
Depends: ${misc:Depends},
45
 ${python:Depends},
44
 univention-management-console-server,
46
 univention-management-console-server,
45
 python-netifaces
47
 python-netifaces
48
Replaces: univention-network-manager,
49
 univention-ifplugd
46
Description: UCS - Network tools for ifplugd and network-manager (common)
50
Description: UCS - Network tools for ifplugd and network-manager (common)
47
 This package installs tools required by univention-ifplugd and
51
 This package installs tools required by univention-ifplugd and
48
 univention-network-manager.
52
 univention-network-manager.
(-)a/branches/ucs-3.0/ucs/base/univention-network-manager/debian/rules (-3 / +2 lines)
 Lines 37-45   override_dh_auto_test: Link Here 
37
override_dh_fixperms:
37
override_dh_fixperms:
38
	dh_fixperms
38
	dh_fixperms
39
	chmod 755 debian/univention-network-manager/usr/lib/NetworkManager/nm-dhcp-client.action
39
	chmod 755 debian/univention-network-manager/usr/lib/NetworkManager/nm-dhcp-client.action
40
	chmod 755 debian/univention-network-manager/etc/network/if-pre-up.d/10_dhclientconf
40
	chmod 755 debian/univention-network-common/etc/network/if-pre-up.d/10_dhclientconf
41
	chmod 755 debian/univention-ifplugd/etc/network/if-pre-up.d/10_dhclientconf
41
	chmod 755 debian/univention-ifplugd/etc/dhcp/dhclient-enter-hooks.d/univention-ifplugd-enter-hook
42
	chmod 755 debian/univention-ifplugd/etc/dhcp3/dhclient-enter-hooks.d/univention-ifplugd-enter-hook
43
42
44
override_dh_installinit:
43
override_dh_installinit:
45
	dh_installinit -punivention-network-common --no-start -u"defaults 99"
44
	dh_installinit -punivention-network-common --no-start -u"defaults 99"
(-)a/branches/ucs-3.0/ucs/base/univention-network-manager/debian/univention-ifplugd.dirs (-4 / +4 lines)
 Lines 1-4    Link Here 
1
etc/network/if-up.d/
1
etc/network/if-up.d
2
etc/network/if-down.d/
2
etc/network/if-down.d
3
etc/dhcp3/dhclient-enter-hooks.d
3
etc/dhcp/dhclient-enter-hooks.d
4
etc/dhcp3/dhclient-enter-hooks.univention.d
4
etc/dhcp/dhclient-enter-hooks.univention.d
(-)a/branches/ucs-3.0/ucs/base/univention-network-manager/debian/univention-ifplugd.install (-6 / +1 lines)
 Lines 1-6    Link Here 
1
etc/network/ucs-network-tools etc/network/
1
univention-ifplugd-enter-hook etc/dhcp/dhclient-enter-hooks.d/
2
etc/network/if-up.d/[0-9]* etc/network/if-up.d/
3
etc/network/if-down.d/[0-9]* etc/network/if-down.d/
4
etc/network/if-pre-up.d/[0-9]* etc/network/if-pre-up.d/
5
etc/dhcp/* etc/dhcp/
6
univention-ifplugd-enter-hook etc/dhcp3/dhclient-enter-hooks.d/
(-)a/branches/ucs-3.0/ucs/base/univention-network-manager/debian/univention-ifplugd.postinst (-8 / +20 lines)
 Lines 35-51    Link Here 
35
eval "$(univention-config-registry shell)"
35
eval "$(univention-config-registry shell)"
36
36
37
if [ -z "$ifplugd_action_mount" ]; then
37
if [ -z "$ifplugd_action_mount" ]; then
38
	   ifplugd_action_mount="yes"
38
	ifplugd_action_mount="yes"
39
fi
39
fi
40
40
41
# set "interfaces/handler" in any case to "ifplugd"
41
# set "interfaces/handler" in any case to "ifplugd"
42
univention-config-registry set interfaces/handler=ifplugd
42
univention-config-registry set \
43
43
	interfaces/handler=ifplugd \
44
univention-config-registry set networkmanager/action/mount?"no"
44
	networkmanager/action/mount?"no" \
45
univention-config-registry set networkmanager/dhcp/options/fallback?"no"
45
	networkmanager/dhcp/options/fallback?"no" \
46
46
	dhclient/options/timeout?"40" \
47
univention-config-registry set dhclient/options/timeout?"40"
47
	dhclient/options/retry?"60"
48
univention-config-registry set dhclient/options/retry?"60"
49
48
50
for i in $(seq 0 10); do
49
for i in $(seq 0 10); do
51
	var="interfaces_eth${i}_networkmanager"
50
	var="interfaces_eth${i}_networkmanager"
 Lines 67-70   if [ "$1" = "configure" -a -n "$2" ] && dpkg --compare-versions "$2" lt 3.0.18-1 Link Here 
67
	fi
66
	fi
68
fi
67
fi
69
68
69
# Transition from /etc/dhcp3/ to /etc/dhcp/
70
dpkg-maintscript-helper mv_conffile \
71
    "/etc/dhcp3/dhclient-enter-hooks.d/univention-ifplugd-enter-hook" \
72
    "/etc/dhcp/dhclient-enter-hooks.d/univention-ifplugd-enter-hook" \
73
    3.0.23~ univention-ifplugd -- "$@"
74
dpkg-maintscript-helper rm_conffile \
75
    "/etc/dhcp3/dhclient-enter-hooks.univention.d/00_fallback.py" \
76
    3.0.23~ univention-ifplugd -- "$@"
77
if [ "$1" = "configure" -a -n "$2" ] && dpkg --compare-versions "$2" lt 3.0.23~;
78
then
79
    rmdir -p /etc/dhcp3/dhclient-enter-hooks.d /etc/dhcp3/dhclient-enter-hooks.univention.d 2>/dev/null || true
80
fi
81
70
exit 0
82
exit 0
(-)a/branches/ucs-3.0/ucs/base/univention-network-manager/debian/univention-ifplugd.preinst (+45 lines)
Line 0    Link Here 
1
#! /bin/sh
2
#
3
# Univention Network ifplugd
4
#  preinst script
5
#
6
# Copyright 2004-2012 Univention GmbH
7
#
8
# http://www.univention.de/
9
#
10
# All rights reserved.
11
#
12
# The source code of this program is made available
13
# under the terms of the GNU Affero General Public License version 3
14
# (GNU AGPL V3) as published by the Free Software Foundation.
15
#
16
# Binary versions of this program provided by Univention to you as
17
# well as other copyrighted, protected or trademarked materials like
18
# Logos, graphics, fonts, specific documentations and configurations,
19
# cryptographic keys etc. are subject to a license agreement between
20
# you and Univention and not subject to the GNU AGPL V3.
21
#
22
# In the case you use this program under the terms of the GNU AGPL V3,
23
# the program is provided in the hope that it will be useful,
24
# but WITHOUT ANY WARRANTY; without even the implied warranty of
25
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26
# GNU Affero General Public License for more details.
27
#
28
# You should have received a copy of the GNU Affero General Public
29
# License with the Debian GNU/Linux or Univention distribution in file
30
# /usr/share/common-licenses/AGPL-3; if not, see
31
# <http://www.gnu.org/licenses/>.
32
33
set -e
34
35
#DEBHELPER#
36
37
dpkg-maintscript-helper mv_conffile \
38
    "/etc/dhcp3/dhclient-enter-hooks.d/univention-ifplugd-enter-hook" \
39
    "/etc/dhcp/dhclient-enter-hooks.d/univention-ifplugd-enter-hook" \
40
    3.0.23~ univention-ifplugd -- "$@"
41
dpkg-maintscript-helper rm_conffile \
42
    "/etc/dhcp3/dhclient-enter-hooks.univention.d/00_fallback.py" \
43
    3.0.23~ univention-ifplugd -- "$@"
44
45
exit 0
(-)a/branches/ucs-3.0/ucs/base/univention-network-manager/debian/univention-ifplugd.univention-config-registry (-11 lines)
 Lines 1-14    Link Here 
1
Type: file
1
Type: file
2
File: etc/dhcp/dhclient.conf
3
Variables: dhclient/options/timeout
4
Variables: dhclient/options/retry
5
Variables: dhclient/options/ddns
6
Variables: dhclient/options/ddns/zone
7
Variables: dhclient/options/ddns/serverupdate
8
Variables: dhclient/linklocal/fallback
9
Variables: hostname
10
Variables: domainname
11
12
Type: file
13
File: etc/default/ifplugd
2
File: etc/default/ifplugd
14
Variables: interfaces/.*
3
Variables: interfaces/.*
(-)a/branches/ucs-3.0/ucs/base/univention-network-manager/debian/univention-ifplugd.univention-config-registry-variables (-18 lines)
 Lines 9-29   Description[de]=Ist diese Variable gesetzt, dann wird versucht die Heimatverzeic Link Here 
9
Description[en]=If this variable is set the home directory share will be mounted via NFS if possible
9
Description[en]=If this variable is set the home directory share will be mounted via NFS if possible
10
Type=bool
10
Type=bool
11
Categories=system-base
11
Categories=system-base
12
13
[dhclient/options/timeout]
14
Description[de]=Definiert die Zeit in Sekunden, die der DHCP-Client versucht eine IP-Konfiguration zu beziehen
15
Description[en]=Defines the amount of time in seconds that the DHCP clients tries to get an IP configuration
16
Type=int
17
Categories=system-base
18
19
[dhclient/options/retry]
20
Description[de]=Definiert die Zeit in Sekunden, die der DHCP-Client vor einem erneuten Versuch wartet
21
Description[en]=Defines the amount of time in seconds that the DHCP clients waits before trying again
22
Type=int
23
Categories=system-base
24
25
[dhclient/linklocal/fallback]
26
Description[de]=Definiert ob eine Link Local IP Adresse konfiguriert wird, wenn per DHCP keine IP Adresse bezogen werden konnte (Default: true)
27
Description[en]=Defines whether a link local IP address is configured if no IP address could be obtained via DHCP (default: true)
28
Type=str
29
Categories=system-base
(-)a/branches/ucs-3.0/ucs/base/univention-network-manager/debian/univention-network-common.install (+5 lines)
Line 1    Link Here 
1
etc/network/ucs-network-tools etc/network/
2
etc/network/if-up.d/[0-9]* etc/network/if-up.d/
3
etc/network/if-down.d/[0-9]* etc/network/if-down.d/
4
etc/network/if-pre-up.d/[0-9]* etc/network/if-pre-up.d/
5
etc/dhcp/* etc/dhcp/
1
univention-register-network-address usr/sbin
6
univention-register-network-address usr/sbin
(-)a/branches/ucs-3.0/ucs/base/univention-network-manager/debian/univention-network-common.univention-config-registry (+10 lines)
Line 0    Link Here 
1
Type: file
2
File: etc/dhcp/dhclient.conf
3
Variables: dhclient/options/timeout
4
Variables: dhclient/options/retry
5
Variables: dhclient/options/ddns
6
Variables: dhclient/options/ddns/zone
7
Variables: dhclient/options/ddns/serverupdate
8
Variables: dhclient/linklocal/fallback
9
Variables: hostname
10
Variables: domainname
(-)a/branches/ucs-3.0/ucs/base/univention-network-manager/debian/univention-network-common.univention-config-registry-variables (+35 lines)
Line 0    Link Here 
1
[dhclient/options/timeout]
2
Description[de]=Definiert die Zeit in Sekunden, die der DHCP-Client versucht eine IP-Konfiguration zu beziehen
3
Description[en]=Defines the amount of time in seconds that the DHCP clients tries to get an IP configuration
4
Type=int
5
Categories=system-base
6
7
[dhclient/options/retry]
8
Description[de]=Definiert die Zeit in Sekunden, die der DHCP-Client vor einem erneuten Versuch wartet
9
Description[en]=Defines the amount of time in seconds that the DHCP clients waits before trying again
10
Type=int
11
Categories=system-base
12
13
[dhclient/linklocal/fallback]
14
Description[de]=Definiert ob eine Link Local IP Adresse konfiguriert wird, wenn per DHCP keine IP Adresse bezogen werden konnte (Default: true)
15
Description[en]=Defines whether a link local IP address is configured if no IP address could be obtained via DHCP (default: true)
16
Type=str
17
Categories=system-base
18
19
[dhclient/options/ddns]
20
Description[de]=Aktiviert DDNS per DHCP für externe DNS-Dienste [disabled]
21
Description[en]=Activates DDNS via DHCP for external DNS-Services [disabled]
22
Type=bool
23
Categories=system-base
24
25
[dhclient/options/ddns/zone]
26
Description[de]=Definiert die DNS Zone, die bei aktiviertem DDNS per DHCP verwendet werden soll [domainname]
27
Description[en]=Defines the DNS Zone which will be updated when DDNS via DHCP is enabled [domainname]
28
Type=str
29
Categories=system-base
30
31
[dhclient/options/ddns/serverupdate]
32
Description[de]=Ersucht den DHCP-Server den A-Record in der Forward-Zone zu aktualisieren (Standard: yes)
33
Description[en]=Request DHCP server to update the A record in the forward zone (default: yes)
34
Type=bool
35
Categories=system-base
(-)a/branches/ucs-3.0/ucs/base/univention-network-manager/debian/univention-network-manager.install (-4 lines)
 Lines 1-5    Link Here 
1
etc/network/ucs-network-tools etc/network/
2
etc/network/if-up.d/[0-9]* etc/network/if-up.d/
3
etc/network/if-down.d/[0-9]* etc/network/if-down.d/
4
etc/network/if-pre-up.d/[0-9]* etc/network/if-pre-up.d/
5
nm-dhcp-client.action usr/lib/NetworkManager/
1
nm-dhcp-client.action usr/lib/NetworkManager/
(-)a/branches/ucs-3.0/ucs/base/univention-network-manager/debian/univention-network-manager.univention-config-registry (-11 lines)
 Lines 3-18   File: etc/dbus-1/system.d/ucs-networkmanager.conf Link Here 
3
Variables: networkmanager/group
3
Variables: networkmanager/group
4
4
5
Type: file
5
Type: file
6
File: etc/dhcp/dhclient.conf
7
Variables: dhclient/options/timeout
8
Variables: dhclient/options/retry
9
Variables: dhclient/options/ddns
10
Variables: dhclient/options/ddns/zone
11
Variables: dhclient/options/ddns/serverupdate
12
Variables: dhclient/linklocal/fallback
13
Variables: hostname
14
Variables: domainname
15
16
Type: file
17
File: etc/NetworkManager/nm-system-settings.conf
6
File: etc/NetworkManager/nm-system-settings.conf
18
Variables: networkmanager/all_interfaces
7
Variables: networkmanager/all_interfaces
(-)a/branches/ucs-3.0/ucs/base/univention-network-manager/debian/univention-network-manager.univention-config-registry-variables (-36 lines)
 Lines 15-53   Description[de]=Ist diese Variable gesetzt, dann wird versucht die Heimatverzeic Link Here 
15
Description[en]=If this variable is set the home directory share will be mounted via NFS if possible
15
Description[en]=If this variable is set the home directory share will be mounted via NFS if possible
16
Type=bool
16
Type=bool
17
Categories=system-base
17
Categories=system-base
18
19
[dhclient/options/timeout]
20
Description[de]=Definiert die Zeit in Sekunden, die der DHCP-Client versucht eine IP-Konfiguration zu beziehen
21
Description[en]=Defines the amount of time in seconds that the DHCP clients tries to get an IP configuration
22
Type=int
23
Categories=system-base
24
25
[dhclient/options/retry]
26
Description[de]=Definiert die Zeit in Sekunden, die der DHCP-Client vor einem erneuten Versuch wartet
27
Description[en]=Defines the amount of time in seconds that the DHCP clients waits before trying again
28
Type=int
29
Categories=system-base
30
31
[dhclient/linklocal/fallback]
32
Description[de]=Definiert ob eine Link Local IP Adresse konfiguriert wird, wenn per DHCP keine IP Adresse bezogen werden konnte (Default: true)
33
Description[en]=Defines whether a link local IP address is configured if no IP address could be obtained via DHCP (default: true)
34
Type=str
35
Categories=system-base
36
37
[dhclient/options/ddns]
38
Description[de]=Aktiviert DDNS per DHCP für externe DNS-Dienste [disabled]
39
Description[en]=Activates DDNS via DHCP for external DNS-Services [disabled]
40
Type=bool
41
Categories=system-base
42
43
[dhclient/options/ddns/zone]
44
Description[de]=Definiert die DNS Zone, die bei aktiviertem DDNS per DHCP verwendet werden soll [domainname]
45
Description[en]=Defines the DNS Zone which will be updated when DDNS via DHCP is enabled [domainname]
46
Type=str
47
Categories=system-base
48
49
[dhclient/options/ddns/serverupdate]
50
Description[de]=Ersucht den DHCP-Server den A-Record in der Forward-Zone zu aktualisieren (Standard: yes)
51
Description[en]=Request DHCP server to update the A record in the forward zone (default: yes)
52
Type=bool
53
Categories=system-base
(-)a/branches/ucs-3.0/ucs/base/univention-network-manager/nm-dhcp-client.action (-4 / +2 lines)
 Lines 42-51   for script in $(find ${HOOKS_DIR} -type f -name "*.py" -o -name "*.sh"); do Link Here 
42
done
42
done
43
43
44
# debugging
44
# debugging
45
set | egrep '(new_|old_|reason)' > /tmp/nm-env
45
env | egrep '(new_|old_|reason)' > /var/run/nm-env
46
 
46
47
/usr/lib/NetworkManager/nm-dhcp-client.action.real
47
/usr/lib/NetworkManager/nm-dhcp-client.action.real
48
48
49
exit 0
49
exit 0
50
51
	
(-)a/branches/ucs-3.0/ucs/base/univention-network-manager/univention-ifplugd-enter-hook (-3 / +3 lines)
 Lines 30-39    Link Here 
30
# /usr/share/common-licenses/AGPL-3; if not, see
30
# /usr/share/common-licenses/AGPL-3; if not, see
31
# <http://www.gnu.org/licenses/>.
31
# <http://www.gnu.org/licenses/>.
32
32
33
HOOKS_DIR=/etc/dhcp3/dhclient-enter-hooks.univention.d/
33
HOOKS_DIR=/etc/dhcp/dhclient-enter-hooks.univention.d/
34
34
35
# debugging
35
# debugging
36
set | egrep '(new_|old_|reason)' > /tmp/ifplugd-env-old
36
env | egrep '(new_|old_|reason)' > /var/run/ifplugd-env-old
37
37
38
# call hooks: each hook script might write shell script to standard output to change environment variables
38
# call hooks: each hook script might write shell script to standard output to change environment variables
39
for script in $(find ${HOOKS_DIR} -type f -name "*.py" -o -name "*.sh"); do
39
for script in $(find ${HOOKS_DIR} -type f -name "*.py" -o -name "*.sh"); do
 Lines 41-44   for script in $(find ${HOOKS_DIR} -type f -name "*.py" -o -name "*.sh"); do Link Here 
41
done
41
done
42
42
43
# debugging
43
# debugging
44
set | egrep '(new_|old_|reason)' > /tmp/ifplugd-env-new
44
env | egrep '(new_|old_|reason)' > /var/run/ifplugd-env-new
(-)a/branches/ucs-3.0/ucs/base/univention-network-manager/univention-register-network-address (-1 / +1 lines)
 Lines 91-95   if __name__ == '__main__': Link Here 
91
				retcode += 1
91
				retcode += 1
92
		elif options.verbose:
92
		elif options.verbose:
93
			print 'INFO: %s is not configured as dhcp device.' % iface
93
			print 'INFO: %s is not configured as dhcp device.' % iface
94
		
94
95
	sys.exit(retcode)
95
	sys.exit(retcode)
(-)a/branches/ucs-3.0/ucs/services/univention-dhcp/debian/univention-dhcp.preinst (-2 / +2 lines)
 Lines 1-9    Link Here 
1
#! /bin/sh
1
#! /bin/sh
2
#
2
#
3
# Univention DHCP
3
# Univention DHCP
4
#  ppreinst script
4
#  preinst script
5
#
5
#
6
# Copyright 2004-2011 Univention GmbH
6
# Copyright 2004-2012 Univention GmbH
7
#
7
#
8
# http://www.univention.de/
8
# http://www.univention.de/
9
#
9
#

Return to bug 27829