+ self=install_init_script + script=/opt/VBoxGuestAdditions-5.1.4/init/vboxadd + name=vboxadd + test -x /opt/VBoxGuestAdditions-5.1.4/init/vboxadd + test '!' vboxadd = '' + test -L /sbin/rcvboxadd + ln -s /opt/VBoxGuestAdditions-5.1.4/init/vboxadd /sbin/rcvboxadd ++ which systemctl + test -x '' + test -d /etc/rc.d/init.d + cp /opt/VBoxGuestAdditions-5.1.4/init/vboxadd /etc/rc.d/init.d/vboxadd + chmod 755 /etc/rc.d/init.d/vboxadd + self=addrunlevel + name=vboxadd + test -n vboxadd + systemd_service_installed vboxadd + name=vboxadd + test -f /lib/systemd/system/vboxadd.service + test -f /usr/lib/systemd/system/vboxadd.service + test -x /etc/rc.d/init.d/vboxadd + init_d_path=/etc/rc.d + get_chkconfig_info /etc/rc.d/init.d/vboxadd + script=/etc/rc.d/init.d/vboxadd ++ sed -n 's/# *chkconfig: *\([0-9]*\) *\(.*\)/\1 \2/p' /etc/rc.d/init.d/vboxadd + set 345 10 90 + runlevels=345 + start_order=10 + stop_order=90 + test '!' -z vboxadd + expr 10 + 0 + expr 0 '<=' 10 ++ expr length 10 + test 2 -eq 2 + expr 90 + 0 + expr 0 '<=' 90 ++ expr length 90 + test 2 -eq 2 ++ which chkconfig + test -x /sbin/chkconfig + chkconfig --add vboxadd chcon: can't apply partial context to unlabeled file `/usr/lib64/VBoxGuestAdditions/mount.vboxsf' + do_sysvinit_action vboxadd start + self=do_sysvinit_action + name=vboxadd + action=start + test '!' -z vboxadd + test '!' -z start + systemd_service_installed vboxadd + name=vboxadd + test -f /lib/systemd/system/vboxadd.service + test -f /usr/lib/systemd/system/vboxadd.service ++ which service + test -x /sbin/service + service vboxadd start + self=install_init_script + script=/opt/VBoxGuestAdditions-5.1.4/init/vboxadd-service + name=vboxadd-service + test -x /opt/VBoxGuestAdditions-5.1.4/init/vboxadd-service + test '!' vboxadd-service = '' + test -L /sbin/rcvboxadd-service + ln -s /opt/VBoxGuestAdditions-5.1.4/init/vboxadd-service /sbin/rcvboxadd-service ++ which systemctl + test -x '' + test -d /etc/rc.d/init.d + cp /opt/VBoxGuestAdditions-5.1.4/init/vboxadd-service /etc/rc.d/init.d/vboxadd-service + chmod 755 /etc/rc.d/init.d/vboxadd-service + self=addrunlevel + name=vboxadd-service + test -n vboxadd-service + systemd_service_installed vboxadd-service + name=vboxadd-service + test -f /lib/systemd/system/vboxadd-service.service + test -f /usr/lib/systemd/system/vboxadd-service.service + test -x /etc/rc.d/init.d/vboxadd-service + init_d_path=/etc/rc.d + get_chkconfig_info /etc/rc.d/init.d/vboxadd-service + script=/etc/rc.d/init.d/vboxadd-service ++ sed -n 's/# *chkconfig: *\([0-9]*\) *\(.*\)/\1 \2/p' /etc/rc.d/init.d/vboxadd-service + set 345 35 65 + runlevels=345 + start_order=35 + stop_order=65 + test '!' -z vboxadd-service + expr 35 + 0 + expr 0 '<=' 35 ++ expr length 35 + test 2 -eq 2 + expr 65 + 0 + expr 0 '<=' 65 ++ expr length 65 + test 2 -eq 2 ++ which chkconfig + test -x /sbin/chkconfig + chkconfig --add vboxadd-service + self=install_init_script + script=/opt/VBoxGuestAdditions-5.1.4/init/vboxadd-x11 + name=vboxadd-x11 + test -x /opt/VBoxGuestAdditions-5.1.4/init/vboxadd-x11 + test '!' vboxadd-x11 = '' + test -L /sbin/rcvboxadd-x11 + rm /sbin/rcvboxadd-x11 + ln -s /opt/VBoxGuestAdditions-5.1.4/init/vboxadd-x11 /sbin/rcvboxadd-x11 ++ which systemctl + test -x '' + test -d /etc/rc.d/init.d + cp /opt/VBoxGuestAdditions-5.1.4/init/vboxadd-x11 /etc/rc.d/init.d/vboxadd-x11 + chmod 755 /etc/rc.d/init.d/vboxadd-x11 + self=addrunlevel + name=vboxadd-x11 + test -n vboxadd-x11 + systemd_service_installed vboxadd-x11 + name=vboxadd-x11 + test -f /lib/systemd/system/vboxadd-x11.service + test -f /usr/lib/systemd/system/vboxadd-x11.service + test -x /etc/rc.d/init.d/vboxadd-x11 + init_d_path=/etc/rc.d + get_chkconfig_info /etc/rc.d/init.d/vboxadd-x11 + script=/etc/rc.d/init.d/vboxadd-x11 ++ sed -n 's/# *chkconfig: *\([0-9]*\) *\(.*\)/\1 \2/p' /etc/rc.d/init.d/vboxadd-x11 + set 35 30 70 + runlevels=35 + start_order=30 + stop_order=70 + test '!' -z vboxadd-x11 + expr 30 + 0 + expr 0 '<=' 30 ++ expr length 30 + test 2 -eq 2 + expr 70 + 0 + expr 0 '<=' 70 ++ expr length 70 + test 2 -eq 2 ++ which chkconfig + test -x /sbin/chkconfig + chkconfig --add vboxadd-x11