summaryrefslogtreecommitdiffstats
path: root/installer/OpenSLX/OSSetup/Distro
diff options
context:
space:
mode:
Diffstat (limited to 'installer/OpenSLX/OSSetup/Distro')
-rw-r--r--installer/OpenSLX/OSSetup/Distro/Debian.pm5
-rw-r--r--installer/OpenSLX/OSSetup/Distro/Ubuntu.pm3
2 files changed, 5 insertions, 3 deletions
diff --git a/installer/OpenSLX/OSSetup/Distro/Debian.pm b/installer/OpenSLX/OSSetup/Distro/Debian.pm
index e430abd4..a514f10f 100644
--- a/installer/OpenSLX/OSSetup/Distro/Debian.pm
+++ b/installer/OpenSLX/OSSetup/Distro/Debian.pm
@@ -80,8 +80,9 @@ sub preSystemInstallationHook
# replace /usr/sbin/invoke-rc.d by a dummy, in order to avoid a whole lot
# of initscripts being started. Wishful thinking: there should be another
- # way to stop Ubuntu from doing this, as this is not really very supportive
- # of folder-based installations ...
+ # way to stop Debian from doing this, as this is not really very supportive
+ # of folder-based installations (then again: I may simply be too stupid
+ # to find out how it is supposed to work ...)
rename('/usr/sbin/invoke-rc.d', '/usr/sbin/_invoke-rc.d');
spitFile('/usr/sbin/invoke-rc.d', "#! /bin/sh\nexit 0\n");
chmod 0755, '/usr/sbin/invoke-rc.d';
diff --git a/installer/OpenSLX/OSSetup/Distro/Ubuntu.pm b/installer/OpenSLX/OSSetup/Distro/Ubuntu.pm
index 029c35c3..4ab5abbc 100644
--- a/installer/OpenSLX/OSSetup/Distro/Ubuntu.pm
+++ b/installer/OpenSLX/OSSetup/Distro/Ubuntu.pm
@@ -81,7 +81,8 @@ sub preSystemInstallationHook
# replace /usr/sbin/invoke-rc.d by a dummy, in order to avoid a whole lot
# of initscripts being started. Wishful thinking: there should be another
# way to stop Ubuntu from doing this, as this is not really very supportive
- # of folder-based installations ...
+ # of folder-based installations (then again: I may simply be too stupid
+ # to find out how it is supposed to work ...)
rename('/usr/sbin/invoke-rc.d', '/usr/sbin/_invoke-rc.d');
spitFile('/usr/sbin/invoke-rc.d', "#! /bin/sh\nexit 0\n");
chmod 0755, '/usr/sbin/invoke-rc.d';