diff -up rear-2.00/usr/share/rear/rescue/NBU/default/450_prepare_netbackup.sh.bz1506231 rear-2.00/usr/share/rear/rescue/NBU/default/450_prepare_netbackup.sh
--- rear-2.00/usr/share/rear/rescue/NBU/default/450_prepare_netbackup.sh.bz1506231 2017-11-02 10:29:57.000000000 +0100
+++ rear-2.00/usr/share/rear/rescue/NBU/default/450_prepare_netbackup.sh 2017-11-27 11:58:54.000000000 +0100
@@ -7,6 +7,9 @@
[[ $NBU_version -lt 7 ]] && return # NBU is using xinetd when version <7.x
-cp $v /etc/init.d/netbackup $ROOTFS_DIR/etc/scripts/system-setup.d/90-netbackup.sh
-[ -f $ROOTFS_DIR/etc/scripts/system-setup.d/90-netbackup.sh ] && \
+if [ -e "/etc/init.d/netbackup" ]; then
+ cp $v /etc/init.d/netbackup $ROOTFS_DIR/etc/scripts/system-setup.d/netbackup.real
+ chmod $v +x $ROOTFS_DIR/etc/scripts/system-setup.d/netbackup.real
+ echo "( /etc/scripts/system-setup.d/netbackup.real )" > $ROOTFS_DIR/etc/scripts/system-setup.d/90-netbackup.sh
chmod $v +x $ROOTFS_DIR/etc/scripts/system-setup.d/90-netbackup.sh
+fi
diff -up rear-2.00/usr/share/rear/skel/default/usr/lib/systemd/system/sysinit.service.bz1506231 rear-2.00/usr/share/rear/skel/default/usr/lib/systemd/system/sysinit.service
--- rear-2.00/usr/share/rear/skel/default/usr/lib/systemd/system/sysinit.service.bz1506231 2017-11-27 11:57:54.000000000 +0100
+++ rear-2.00/usr/share/rear/skel/default/usr/lib/systemd/system/sysinit.service 2017-11-27 11:58:09.000000000 +0100
@@ -6,3 +6,4 @@ After=systemd-udevd.service
Type=oneshot
ExecStart=/etc/scripts/system-setup
StandardInput=tty
+RemainAfterExit=yes