summaryrefslogtreecommitdiffstats
path: root/initramfs/distro-specs/scilin/functions-5.3
diff options
context:
space:
mode:
Diffstat (limited to 'initramfs/distro-specs/scilin/functions-5.3')
-rw-r--r--initramfs/distro-specs/scilin/functions-5.33
1 files changed, 3 insertions, 0 deletions
diff --git a/initramfs/distro-specs/scilin/functions-5.3 b/initramfs/distro-specs/scilin/functions-5.3
index 2952163c..1548ab9a 100644
--- a/initramfs/distro-specs/scilin/functions-5.3
+++ b/initramfs/distro-specs/scilin/functions-5.3
@@ -31,6 +31,9 @@ echo -e "# Run OpenSLX init runlevel script\n/etc/init.d/boot.slx" \
# switch off SElinux enforcing
sed -e "1i# Configuration modified by $0 during stage3 bootup." \
-e "s/SELINUX=.*/SELINUX=permissive/" -i /mnt/etc/selinux/config
+# switch off display manager start via inittab
+sed -e "s/x:5:re.*/# line deleted in stage3, re-enable via desktop plugin/" \
+ -i /mnt/etc/inittab
# link halt and reboot scripts
ln -s ../init.d/killall /mnt/etc/rc.d/rc0.d/S00killall
ln -s ../init.d/halt /mnt/etc/rc.d/rc0.d/S01halt