X-Git-Url: http://git.grml.org/?p=grml-autoconfig.git;a=blobdiff_plain;f=autoconfig.functions;h=fd4b1215e27eac7315f34fd9572678ec09b72451;hp=90f177946d96901abcec720f9eded2cc1891c577;hb=5e1cd3f650a3562ffc5d49a576cccad2b2ac14a0;hpb=92f3c4199f70b190026261a118a1148b7cb1a201 diff --git a/autoconfig.functions b/autoconfig.functions index 90f1779..fd4b121 100755 --- a/autoconfig.functions +++ b/autoconfig.functions @@ -1,7 +1,7 @@ #!/bin/zsh # Filename: autoconfig.functions # Purpose: basic system configuration and hardware setup for grml system -# Authors: grml-team (grml.org), (c) Klaus Knopper , (c) Michael Prokop +# Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2. ################################################################################ @@ -1946,7 +1946,7 @@ else else [ -d /mnt/grml ] || mkdir /mnt/grml umount /mnt/grml 1>>$DEBUG 2>&1 # make sure it is not mounted - mount -o ro -t auto $MOUNTDEVICE /mnt/grml ; RC="$?" + mount -o ro -t auto $DCSDEVICE /mnt/grml ; RC="$?" if [[ $RC == 0 ]]; then einfo "Successfully mounted $DCSDEVICE to /mnt/grml (readonly)." ; eend 0 eindent @@ -2341,7 +2341,7 @@ if checkbootparam "debnet" ; then mkdir /etc/network/run umount /mnt ; eend $? einfo "Starting network." - /etc/init.d/networking start ; eend $? + invoke-rc.d networking start ; eend $? else eerror "/etc/network/interfaces not found." ; eend 1 fi