-#!/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 <mika@grml.org>
# 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
-
if [ -r $target/usr/share/doc/cpufrequtils/examples/cpufrequtils.sample ] ; then
if ! [ -r $target/etc/default/loadcpufreq ] ; then
cat $target/usr/share/doc/cpufrequtils/examples/cpufrequtils.sample > $target/etc/default/loadcpufreq
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