X-Git-Url: https://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Fconfig%2Fscripts%2FGRMLBASE%2F36-cpufrequtils;h=16445d81b5be304842ee5b6e7745029a333e4c8a;hp=6e68b6eaf2c7e367a113e72970935d6114c7ede2;hb=9dafaad2fe959f195d68a38655f60d00ee028256;hpb=638a56daa6778b9897a974b990a9726c99f4df97 diff --git a/etc/grml/fai/config/scripts/GRMLBASE/36-cpufrequtils b/etc/grml/fai/config/scripts/GRMLBASE/36-cpufrequtils index 6e68b6e..16445d8 100755 --- a/etc/grml/fai/config/scripts/GRMLBASE/36-cpufrequtils +++ b/etc/grml/fai/config/scripts/GRMLBASE/36-cpufrequtils @@ -1,17 +1,16 @@ -#!/bin/sh -# Filename: /etc/grml/fai/config/scripts/GRMLBASE/36-cpufrequtils +#!/bin/bash +# Filename: ${GRML_FAI_CONFIG}/config/scripts/GRMLBASE/36-cpufrequtils # Purpose: configure cpufrequtils of live-system # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2 or any later version. -# Latest change: Sun Jan 20 19:35:25 CET 2008 [mika] ################################################################################ set -u set -e [ -r /etc/grml/grml-live.conf ] && . /etc/grml/grml-live.conf -[ -r /etc/grml/grml-live.local ] && . /etc/grml/grml-live.local +[ -n "$GRML_LIVE_LOCAL_CONFIG" ] && . "$GRML_LIVE_LOCAL_CONFIG" if [ -r $target/usr/share/doc/cpufrequtils/examples/cpufrequtils.sample ] ; then if ! [ -r $target/etc/default/loadcpufreq ] ; then @@ -21,4 +20,4 @@ if [ -r $target/usr/share/doc/cpufrequtils/examples/cpufrequtils.sample ] ; then fi ## END OF FILE ################################################################# -# vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=3 +# vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=2