diff options
author | Dirk von Suchodoletz | 2009-09-10 20:37:47 +0200 |
---|---|---|
committer | Dirk von Suchodoletz | 2009-09-10 20:37:47 +0200 |
commit | f747ed9813242e720dbfa61501de162eb2bfe22f (patch) | |
tree | f4435dbc179b341ec57808633846235401774fb2 /initramfs/distro-specs/scilin/functions-5.3 | |
parent | Small fixes for Scientific Linux 5.3 ... (diff) | |
download | core-f747ed9813242e720dbfa61501de162eb2bfe22f.tar.gz core-f747ed9813242e720dbfa61501de162eb2bfe22f.tar.xz core-f747ed9813242e720dbfa61501de162eb2bfe22f.zip |
Do not start the displaymanager if no plugin installed in Scientific
Linux.
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@3153 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/distro-specs/scilin/functions-5.3')
-rw-r--r-- | initramfs/distro-specs/scilin/functions-5.3 | 3 |
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 |