/[smeserver]/rpms/e-smith-base/sme7/e-smith-base-4.18.0-run.static.patch
ViewVC logotype

Contents of /rpms/e-smith-base/sme7/e-smith-base-4.18.0-run.static.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Wed Mar 26 17:01:38 2008 UTC (16 years, 2 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
* Wed Mar 26 2008 Shad L. Lords <slords@mail.com> 4.18.1-2
- Fix gettext strings returned by password checks [SME: 4104]

1 diff -Nur -x '*.orig' -x '*.rej' e-smith-base-4.18.0/root/var/service/wan/run.static mezzanine_patched_e-smith-base-4.18.0/root/var/service/wan/run.static
2 --- e-smith-base-4.18.0/root/var/service/wan/run.static 2007-01-26 20:56:31.000000000 -0500
3 +++ mezzanine_patched_e-smith-base-4.18.0/root/var/service/wan/run.static 2007-03-01 12:28:23.000000000 -0500
4 @@ -1,5 +1,10 @@
5 -#! /bin/sh
6 +#! /usr/bin/perl
7
8 -name=$(/sbin/e-smith/config getprop ExternalInterface Name)
9 -/sbin/ifup $name
10 -exec pause
11 +use warnings;
12 +use strict;
13 +use esmith::ConfigDB;
14 +use POSIX;
15 +
16 +my $db = esmith::ConfigDB->open_ro;
17 +system("/sbin/ifup", $db->get_prop('ExternalInterface', 'Name'));
18 +pause();

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed