X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Fconfig%2Fscripts%2FGRMLBASE%2F36-cpufrequtils;h=16445d81b5be304842ee5b6e7745029a333e4c8a;hb=9dafaad2fe959f195d68a38655f60d00ee028256;hp=7f4e26a4010a16559de326261f2b526727663e18;hpb=2def18e419f1474c3904672ce297babbb4b9b501;p=grml-live.git diff --git a/etc/grml/fai/config/scripts/GRMLBASE/36-cpufrequtils b/etc/grml/fai/config/scripts/GRMLBASE/36-cpufrequtils index 7f4e26a..16445d8 100755 --- a/etc/grml/fai/config/scripts/GRMLBASE/36-cpufrequtils +++ b/etc/grml/fai/config/scripts/GRMLBASE/36-cpufrequtils @@ -1,5 +1,5 @@ -#!/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/ @@ -10,7 +10,7 @@ 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 @@ -20,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