Adding that:
myopenSUSEhost:~ # more /etc/init.d/after.local
#! /bin/sh
#
# Copyright (c) 2010 SuSE LINUX Products GmbH, Germany. All rights reserved.
#
# Author: Werner Fink, 2010
#
# /etc/init.d/after.local
#
# script with local commands to be executed from init after all scripts
# of a runlevel have been executed.
#
# Here you should add things, that should happen directly after
# runlevel has been reached.
#
mkdir -p /var/run/cvs/lock ; chmod 1777 /var/run/cvs/lock
###systemctl start ntpd | tee /var/run/startup_myself.log
echo "Starting vbox shared folders: $(date)" >> /var/run/startup_myself.log
/usr/local/sbin/mount_shared.sh >> /var/run/startup_myself.log
echo "mount_shared.sh result: $?" >> /var/run/startup_myself.log
You should see systemctl list-unit-files --type=service after-local.service as:
static...and:generated, with no PRESET for both.
529 2025-12-06 14:08:46 cd /usr/local/sbin/
530 2025-12-06 14:08:46 d
531 2025-12-06 14:08:51 ls -Z *sh
532 2025-12-06 14:09:24 chcon --type=bin_t /usr/local/sbin/mount_shared.sh
533 2025-12-06 14:09:26 ls -Z *sh
534 2025-12-06 14:09:44 semanage fcontext -a -t bin_t "/usr/local/sbin/mount_shared.sh"
535 2025-12-06 14:09:46 restorecon -v /usr/local/sbin/mount_shared.sh
536 2025-12-06 14:10:06 ls -Z *sh
537 2025-12-06 14:10:12 ls -Z `pwd`/*sh