#!/bin/zsh
# Filename: autoconfig.functions
# Purpose: basic system configuration and hardware setup for grml system
-# Authors: grml-team (grml.org), (c) Klaus Knopper <knopper@knopper.net>, (c) Michael Prokop <mika@grml.org>
+# Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
# Bug-Reports: see http://grml.org/bugs/
# License: This file is licensed under the GPL v2.
################################################################################
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
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