diff options
Diffstat (limited to 'inc/env.setup-sqfs-base.sh')
-rwxr-xr-x | inc/env.setup-sqfs-base.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/inc/env.setup-sqfs-base.sh b/inc/env.setup-sqfs-base.sh index dfae1bf..b0dce63 100755 --- a/inc/env.setup-sqfs-base.sh +++ b/inc/env.setup-sqfs-base.sh @@ -61,3 +61,20 @@ if [ ! -f .osib_patched ]; then done touch .osib_patched fi + +cp ${ROOT_DIR}/share/files/*.service etc/systemd/system/ +ln -sf ../debug-shell.service etc/systemd/system/sysinit.target.wants/ +ln -sf /usr/lib/systemd/system/getty\@.service etc/systemd/system/getty.target.wants/getty\@tty2.service +ln -sf /usr/lib/systemd/system/getty\@.service etc/systemd/system/getty.target.wants/getty\@tty3.service +ln -sf /usr/lib/systemd/system/getty\@.service etc/systemd/system/getty.target.wants/getty\@tty4.service +ln -sf /usr/lib/systemd/system/getty\@.service etc/systemd/system/getty.target.wants/getty\@tty5.service +ln -sf /usr/lib/systemd/system/getty\@.service etc/systemd/system/getty.target.wants/getty\@tty6.service + + +ln -sf /openslx/bin/login bin/login +ln -sf /openslx/bin/sh bin/sh +ln -sf /openslx/bin/hostname bin/hostname + +cp ${ROOT_DIR}/share/files/profile etc +cp ${ROOT_DIR}/share/files/helper helper +chmod +x helper |