/[livecd-tools]/trunk/net-setup
Gentoo

Diff of /trunk/net-setup

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 102 Revision 103
1#!/bin/bash 1#!/bin/bash
2# Copyright 1999-2005 Gentoo Foundation 2# Copyright 1999-2005 Gentoo Foundation
3# Distributed under the terms of the GNU General Public License v2 3# Distributed under the terms of the GNU General Public License v2
4# $Header: /var/cvsroot/gentoo/src/livecd-tools/net-setup,v 1.17 2005/06/09 15:31:23 wolf31o2 Exp $ 4# $Header: /var/cvsroot/gentoo/src/livecd-tools/net-setup,v 1.18 2006/05/30 19:50:59 wolf31o2 Exp $
5 5
6if [ -f /sbin/livecd-functions.sh ] 6if [ -f /sbin/livecd-functions.sh ]
7then 7then
8 source /sbin/livecd-functions.sh 8 source /sbin/livecd-functions.sh
9else 9else
10 echo "ERROR: /sbin/livecd-functions.sh could not be loaded!" 10 echo "ERROR: /sbin/livecd-functions.sh could not be loaded!"
11 exit 1
12fi
13
14if [ ! -x $(which dialog) ]
15then
16 echo "ERROR: The dialog utility is required for net-setup. Exiting!"
11 exit 1 17 exit 1
12fi 18fi
13 19
14livecd_check_root || exit 1 20livecd_check_root || exit 1
15 21

Legend:
Removed from v.102  
changed lines
  Added in v.103

  ViewVC Help
Powered by ViewVC 1.1.20