Blame SOURCES/rear-sfdc02772301.patch

9602f5
diff --git a/usr/share/rear/conf/default.conf b/usr/share/rear/conf/default.conf
769012
index 9ada92c3..455aa3ce 100644
9602f5
--- a/usr/share/rear/conf/default.conf
9602f5
+++ b/usr/share/rear/conf/default.conf
769012
@@ -1813,7 +1813,7 @@ OBDR_BLOCKSIZE=2048
9602f5
 # BACKUP=NBU stuff (Symantec/Veritas NetBackup)
9602f5
 ##
9602f5
 #
9602f5
-COPY_AS_IS_NBU=( /usr/openv/bin/vnetd /usr/openv/bin/vopied /usr/openv/lib /usr/openv/netbackup /usr/openv/var/auth/[mn]*.txt )
9602f5
+COPY_AS_IS_NBU=( /usr/openv/bin/vnetd /usr/openv/bin/vopied /usr/openv/lib /usr/openv/netbackup /usr/openv/var/auth/[mn]*.txt /opt/VRTSpbx /etc/vx/VxICS /etc/vx/vrtslog.conf )
769012
 COPY_AS_IS_EXCLUDE_NBU=( /usr/openv/netbackup/logs "/usr/openv/netbackup/bin/bpjava*" /usr/openv/netbackup/bin/xbp /usr/openv/netbackup/bin/private /usr/openv/lib/java /usr/openv/lib/shared/vddk /usr/openv/netbackup/baremetal )
769012
 # See https://github.com/rear/rear/issues/2105 why /usr/openv/netbackup/sec/at/lib/ is needed:
9602f5
 NBU_LD_LIBRARY_PATH="/usr/openv/lib:/usr/openv/netbackup/sec/at/lib/"
9602f5
diff --git a/usr/share/rear/rescue/NBU/default/450_prepare_netbackup.sh b/usr/share/rear/rescue/NBU/default/450_prepare_netbackup.sh
9602f5
index cd48b8d9..ae5a3ccc 100644
9602f5
--- a/usr/share/rear/rescue/NBU/default/450_prepare_netbackup.sh
9602f5
+++ b/usr/share/rear/rescue/NBU/default/450_prepare_netbackup.sh
9602f5
@@ -7,6 +7,12 @@
9602f5
 
9602f5
 [[ $NBU_version -lt 7 ]] && return	# NBU is using xinetd when version <7.x
9602f5
 
9602f5
+if [ -e "/etc/init.d/vxpbx_exchanged" ]; then
9602f5
+	cp $v /etc/init.d/vxpbx_exchanged $ROOTFS_DIR/etc/scripts/system-setup.d/vxpbx_exchanged.real
9602f5
+	chmod $v +x $ROOTFS_DIR/etc/scripts/system-setup.d/vxpbx_exchanged.real
9602f5
+	echo "( /etc/scripts/system-setup.d/vxpbx_exchanged.real start )" > $ROOTFS_DIR/etc/scripts/system-setup.d/89-vxpbx_exchanged.sh
9602f5
+fi
9602f5
+
9602f5
 if [ -e "/etc/init.d/netbackup" ]; then
9602f5
 	cp $v /etc/init.d/netbackup $ROOTFS_DIR/etc/scripts/system-setup.d/netbackup.real
9602f5
 	chmod $v +x $ROOTFS_DIR/etc/scripts/system-setup.d/netbackup.real
9602f5
diff --git a/usr/share/rear/skel/NBU/usr/openv/tmp/.gitignore b/usr/share/rear/skel/NBU/usr/openv/tmp/.gitignore
9602f5
new file mode 100644
9602f5
index 00000000..d6b7ef32
9602f5
--- /dev/null
9602f5
+++ b/usr/share/rear/skel/NBU/usr/openv/tmp/.gitignore
9602f5
@@ -0,0 +1,2 @@
9602f5
+*
9602f5
+!.gitignore