Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/livecd-tools:master commit in: /
Date: Mon, 25 Feb 2013 17:48:17
Message-Id: 1361814444.7275be68300a33f9b9bd6716553de29b6c1326c7.WilliamH@gentoo
1 commit: 7275be68300a33f9b9bd6716553de29b6c1326c7
2 Author: William Hubbs <williamh <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 25 17:47:24 2013 +0000
4 Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 25 17:47:24 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/livecd-tools.git;a=commit;h=7275be68
7
8 livecd-functions.sh: do not hard code the path to route
9
10 ---
11 livecd-functions.sh | 2 +-
12 1 files changed, 1 insertions(+), 1 deletions(-)
13
14 diff --git a/livecd-functions.sh b/livecd-functions.sh
15 index b1a73cb..c9febd9 100755
16 --- a/livecd-functions.sh
17 +++ b/livecd-functions.sh
18 @@ -245,7 +245,7 @@ livecd_config_ip() {
19 ifconfig ${iface} ${IP} broadcast ${BROADCAST} netmask ${NETMASK}
20 if [ -n "${GATEWAY}" ]
21 then
22 - /sbin/route add default gw ${GATEWAY} dev ${iface} netmask 0.0.0.0 metric 1
23 + route add default gw ${GATEWAY} dev ${iface} netmask 0.0.0.0 metric 1
24 fi
25 if [ -n "${DNS}" ]
26 then