Make all shell scripts using /bin/bash instead /bin/sh to be able to FAI's environment.
[grml-live.git] / etc / grml / fai / config / scripts / GRMLBASE / 35-network
index 93a1289..1b2ba72 100755 (executable)
@@ -1,18 +1,15 @@
-#!/bin/sh
+#!/bin/bash
 # Filename:      /etc/grml/fai/config/scripts/GRMLBASE/35-network
 # Purpose:       set up /etc/network/interfaces 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 Sep 16 23:02:18 CEST 2007 [mika]
 ################################################################################
 
 set -u
 set -e
 
-if [ -r /etc/grml/fai/files/etc/network/interfaces ] ; then
-   cp /etc/grml/fai/files/etc/network/interfaces $target/etc/network/interfaces
-fi
+fcopy /etc/network/interfaces
 
 ## END OF FILE #################################################################
 # vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=3