From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 9DD26198007 for ; Mon, 25 Feb 2013 17:48:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 963A5E05A1; Mon, 25 Feb 2013 17:48:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1200BE05A1 for ; Mon, 25 Feb 2013 17:48:15 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1C25733DCD7 for ; Mon, 25 Feb 2013 17:48:15 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id B2A6DE4083 for ; Mon, 25 Feb 2013 17:48:13 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1361814444.7275be68300a33f9b9bd6716553de29b6c1326c7.WilliamH@gentoo> Subject: [gentoo-commits] proj/livecd-tools:master commit in: / X-VCS-Repository: proj/livecd-tools X-VCS-Files: livecd-functions.sh X-VCS-Directories: / X-VCS-Committer: WilliamH X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 7275be68300a33f9b9bd6716553de29b6c1326c7 X-VCS-Branch: master Date: Mon, 25 Feb 2013 17:48:13 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: bb4dbc33-85d9-4b1a-b00a-d56d78eece85 X-Archives-Hash: 70a37d171bfb5e6972c81fe1e2e41c55 commit: 7275be68300a33f9b9bd6716553de29b6c1326c7 Author: William Hubbs gentoo org> AuthorDate: Mon Feb 25 17:47:24 2013 +0000 Commit: William Hubbs gentoo org> CommitDate: Mon Feb 25 17:47:24 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/livecd-tools.git;a=commit;h=7275be68 livecd-functions.sh: do not hard code the path to route --- livecd-functions.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/livecd-functions.sh b/livecd-functions.sh index b1a73cb..c9febd9 100755 --- a/livecd-functions.sh +++ b/livecd-functions.sh @@ -245,7 +245,7 @@ livecd_config_ip() { ifconfig ${iface} ${IP} broadcast ${BROADCAST} netmask ${NETMASK} if [ -n "${GATEWAY}" ] then - /sbin/route add default gw ${GATEWAY} dev ${iface} netmask 0.0.0.0 metric 1 + route add default gw ${GATEWAY} dev ${iface} netmask 0.0.0.0 metric 1 fi if [ -n "${DNS}" ] then