Blame SOURCES/rear-sfdc02772301.patch

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