View | Details | Raw Unified | Return to bug 40300
Collapse All | Expand All

(-)debian/ucs-school-nonedu-slave.postinst (-3 / +7 lines)
 Lines 81-90    Link Here 
81
			if [ -e /var/univention-join/joined ] && is_ucr_true connector/s4/autostart; then
81
			if [ -e /var/univention-join/joined ] && is_ucr_true connector/s4/autostart; then
82
				if [ -x /etc/init.d/univention-s4-connector ]; then
82
				if [ -x /etc/init.d/univention-s4-connector ]; then
83
					invoke-rc.d univention-s4-connector crestart
83
					invoke-rc.d univention-s4-connector crestart
84
					if [ -x /usr/share/univention-s4-connector/resync_object_from_s4.py ]; then
85
						/usr/share/univention-s4-connector/resync_object_from_s4.py --filter '(objectClass=msPrint-ConnectionPolicy)'
86
					fi
87
				fi
84
				fi
85
				# First sync from UCS to S4 to avoid surprises for already upgraded Slave PDCs
86
				if [ -x /usr/share/univention-s4-connector/resync_object_from_ucs.py ]; then
87
					/usr/share/univention-s4-connector/resync_object_from_ucs.py --filter '(objectClass=msPrintConnectionPolicy)'
88
				fi
89
				if [ -x /usr/share/univention-s4-connector/resync_object_from_s4.py ]; then
90
					/usr/share/univention-s4-connector/resync_object_from_s4.py --filter '(objectClass=msPrint-ConnectionPolicy)'
91
				fi
88
			fi
92
			fi
89
		fi
93
		fi
90
	fi
94
	fi
(-)debian/ucs-school-slave.postinst (-3 / +7 lines)
 Lines 129-138    Link Here 
129
			if [ -e /var/univention-join/joined ] && is_ucr_true connector/s4/autostart; then
129
			if [ -e /var/univention-join/joined ] && is_ucr_true connector/s4/autostart; then
130
				if [ -x /etc/init.d/univention-s4-connector ]; then
130
				if [ -x /etc/init.d/univention-s4-connector ]; then
131
					invoke-rc.d univention-s4-connector crestart
131
					invoke-rc.d univention-s4-connector crestart
132
					if [ -x /usr/share/univention-s4-connector/resync_object_from_s4.py ]; then
133
						/usr/share/univention-s4-connector/resync_object_from_s4.py --filter '(objectClass=msPrint-ConnectionPolicy)'
134
					fi
135
				fi
132
				fi
133
				# First sync from UCS to S4 to avoid surprises for already upgraded Slave PDCs
134
				if [ -x /usr/share/univention-s4-connector/resync_object_from_ucs.py ]; then
135
					/usr/share/univention-s4-connector/resync_object_from_ucs.py --filter '(objectClass=msPrintConnectionPolicy)'
136
				fi
137
				if [ -x /usr/share/univention-s4-connector/resync_object_from_s4.py ]; then
138
					/usr/share/univention-s4-connector/resync_object_from_s4.py --filter '(objectClass=msPrint-ConnectionPolicy)'
139
				fi
136
			fi
140
			fi
137
		fi
141
		fi
138
	fi
142
	fi

Return to bug 40300