]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
Swap Size verringert und kleine Aenderung im Mountsource
authormaniacikarus <maniacikarus@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Wed, 22 Aug 2007 07:24:06 +0000 (07:24 +0000)
committermaniacikarus <maniacikarus@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Wed, 22 Aug 2007 07:24:06 +0000 (07:24 +0000)
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@797 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8

src/install+setup/install/main.c
src/install+setup/install/mountsource.sh

index 51c8969b892c42a3c600a2d92e719744241a61b6..ff1370433b4c1db3f1e2eb0ebb1af763a0e4c325 100644 (file)
@@ -58,8 +58,7 @@ long calc_swapsize(long memory, long disk) {
        if (memory > 1024) {
                return 512;
        }
-
-       return memory*2;
+       return memory;
 }
 
 long calc_rootsize(long free, long max) {
@@ -155,9 +154,9 @@ int main(int argc, char *argv[])
        mysystem("/sbin/modprobe generic");
        mysystem("/sbin/modprobe ide-cd");
        mysystem("/sbin/modprobe ide-disk");
-       mysystem("/sbin/modprobe uhci_hcd");
-       mysystem("/sbin/modprobe ohci_hcd");
-       mysystem("/sbin/modprobe ehci_hcd");
+       mysystem("/sbin/modprobe uhci-hcd");
+       mysystem("/sbin/modprobe ohci-hcd");
+       mysystem("/sbin/modprobe ehci-hcd");
        mysystem("/sbin/modprobe ohci1394");
        mysystem("/sbin/modprobe sd_mod");
        mysystem("/sbin/modprobe sr_mod");
index bd89b4edc445a7b6c1b96d15f61f197d559af875..cf261d36dd49917484d544dd1a9bbe986193706b 100644 (file)
@@ -27,7 +27,7 @@ for DEVICE in $(kudzu -qps -t 30 -c HD | grep device: | cut -d ' ' -f 2 | sort |
                umount /cdrom 2> /dev/null
 done
 
-if [ -e /tmp/source_device ]; then
+if [ -e "/tmp/source_device" ]; then
        mount /dev/$(cat /tmp/source_device) /cdrom 2> /dev/null
        exit 0
 else