X-Git-Url: https://git.grml.org/?p=grml-autoconfig.git;a=blobdiff_plain;f=sbin%2Fgrml-autoconfig;h=dcb679aeff1ba2a8428fa35ebe07e84cdb39ef7a;hp=9806ac317f0bd6e1f4e63b59fea674e7eed22794;hb=7cb161660378ad231beca0f24a32a2bbcfec4518;hpb=994a5c3deda7de4027912f73fe7bc6d2c73c1421 diff --git a/sbin/grml-autoconfig b/sbin/grml-autoconfig index 9806ac3..dcb679a 100755 --- a/sbin/grml-autoconfig +++ b/sbin/grml-autoconfig @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Filename: grml-autoconfig # Purpose: configuration interface for grml-autoconfig # Authors: grml-team (grml.org), (c) Michael Prokop @@ -6,7 +6,7 @@ # License: This file is licensed under the GPL v2. ################################################################################ -if [ "$UID" != 0 ]; then +if [ $(id -u) != 0 ] ; then echo "Error: please run this script with uid 0 (root)." ; exit 1 fi @@ -70,10 +70,15 @@ detection, activation of system services and this is the interface to activate or deactivate some features. If you do not know what to do at this stage just leave it untouched, -the defaults are the recommended values. +the defaults represent the recommended values. -All the configuration happens in the file /etc/grml/autoconfig.local - you can -edit it manually as well. +All the configuration happens in the file /etc/grml/autoconfig.local - +you can edit the file manually as well. + +Please do not confuse these settings with plain Debian configuration. +For example disabling dhcp here will NOT deactivate any configured network +settings in /etc/network/interfaces, it just configures grml-autoconfig +related settings instead. " 0 0 0 \ dhcp "check for network devices and run pump (get ip-address via DHCP)" $DHCPSTATUS \ fstab "update /etc/fstab entries (check for devices)" $FSTABSTATUS \