/[smeserver]/rpms/e-smith-base/sme10/e-smith-base-5.8.0-install_on_every_reboot.patch
ViewVC logotype

Contents of /rpms/e-smith-base/sme10/e-smith-base-5.8.0-install_on_every_reboot.patch

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


Revision 1.2 - (show annotations) (download)
Sun Jun 6 20:38:48 2021 UTC (3 years, 5 months ago) by jpp
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
5.8.1

1 diff -Nur e-smith-base-5.8.0.old/root/sbin/e-smith/bootstrap-console e-smith-base-5.8.0/root/sbin/e-smith/bootstrap-console
2 --- e-smith-base-5.8.0.old/root/sbin/e-smith/bootstrap-console 2016-04-13 10:46:29.840000000 -0400
3 +++ e-smith-base-5.8.0/root/sbin/e-smith/bootstrap-console 2016-04-13 10:50:40.913000000 -0400
4 @@ -42,11 +42,14 @@
5 use esmith::console::system_password;
6 esmith::console::system_password->new->doit($console, $db);
7
8 -use esmith::console::configure;
9 -esmith::console::configure->new(bootstrap => 1)->doit($console, $db);
10 +if ($db->get_prop('bootstrap-console', 'Run') eq 'yes')
11 +{
12 + use esmith::console::configure;
13 + esmith::console::configure->new(bootstrap => 1)->doit($console, $db);
14
15 -use esmith::console::save_config;
16 -esmith::console::save_config->new->doit($console, $db);
17 + use esmith::console::save_config;
18 + esmith::console::save_config->new->doit($console, $db);
19 +}
20
21 $ARGV[0] = 'tty';
22 $console = esmith::console->new();

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