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

Diff of /rpms/e-smith-base/sme10/e-smith-base-5.8.0-bz11318-runlevel7.patch

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

Revision 1.2 by jpp, Mon Jan 11 08:47:43 2021 UTC Revision 1.5 by jpp, Sat Feb 13 04:29:26 2021 UTC
# Line 10  diff -Nur e-smith-base-5.8.0.old/createl Line 10  diff -Nur e-smith-base-5.8.0.old/createl
10          dbus.service          dbus.service
11          getty.target          getty.target
12          plymouth-quit.service          plymouth-quit.service
 @@ -632,8 +632,6 @@  
         systemd-logind.service  
         systemd-update-utmp-runlevel.service  
         systemd-user-sessions.service  
 -       networking.service  
 -       mdmonitor.service  
         ))  
         {  
         symlink("../$unit",  
13  @@ -641,6 +639,12 @@  @@ -641,6 +639,12 @@
14           or die "Can't symlink to root/usr/lib/systemd/system/$target.target.wants/$unit: $!";           or die "Can't symlink to root/usr/lib/systemd/system/$target.target.wants/$unit: $!";
15          }          }
# Line 93  diff -Nur e-smith-base-5.8.0.old/root/us Line 84  diff -Nur e-smith-base-5.8.0.old/root/us
84  +  +
85  +[Install]  +[Install]
86  +WantedBy=sme-server.target  +WantedBy=sme-server.target
87    diff -Nur e-smith-base-5.8.0.old/root/etc/e-smith/db/configuration/defaults/bootstrap-runlevel7/status e-smith-base-5.8.0/root/etc/e-smith/db/configuration/defaults/bootstrap-runlevel7/status
88    --- e-smith-base-5.8.0.old/root/etc/e-smith/db/configuration/defaults/bootstrap-runlevel7/status        1969-12-31 19:00:00.000000000 -0500
89    +++ e-smith-base-5.8.0/root/etc/e-smith/db/configuration/defaults/bootstrap-runlevel7/status    2021-01-11 03:49:10.495000000 -0500
90    @@ -0,0 +1 @@
91    +enabled
92    diff -Nur e-smith-base-5.8.0.old/root/etc/e-smith/db/configuration/defaults/bootstrap-runlevel7/type e-smith-base-5.8.0/root/etc/e-smith/db/configuration/defaults/bootstrap-runlevel7/type
93    --- e-smith-base-5.8.0.old/root/etc/e-smith/db/configuration/defaults/bootstrap-runlevel7/type  1969-12-31 19:00:00.000000000 -0500
94    +++ e-smith-base-5.8.0/root/etc/e-smith/db/configuration/defaults/bootstrap-runlevel7/type      2021-01-11 03:49:02.843000000 -0500
95    @@ -0,0 +1 @@
96    +service
97    diff -Nur e-smith-base-5.8.0.old/root/sbin/e-smith/bootstrap-runlevel7 e-smith-base-5.8.0/root/sbin/e-smith/bootstrap-runlevel7
98    --- e-smith-base-5.8.0.old/root/sbin/e-smith/bootstrap-runlevel7        1969-12-31 19:00:00.000000000 -0500
99    +++ e-smith-base-5.8.0/root/sbin/e-smith/bootstrap-runlevel7    2021-02-12 23:26:49.115000000 -0500
100    @@ -0,0 +1,43 @@
101    +#!/usr/bin/perl -wT
102    +
103    +#----------------------------------------------------------------------
104    +# copyright (C) 1999-2006 Mitel Corporation
105    +#
106    +# This program is free software; you can redistribute it and/or modify
107    +# it under the terms of the GNU General Public License as published by
108    +# the Free Software Foundation; either version 2 of the License, or
109    +# (at your option) any later version.
110    +#
111    +# This program is distributed in the hope that it will be useful,
112    +# but WITHOUT ANY WARRANTY; without even the implied warranty of
113    +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
114    +# GNU General Public License for more details.
115    +#
116    +# You should have received a copy of the GNU General Public License
117    +# along with this program; if not, write to the Free Software
118    +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
119    +#----------------------------------------------------------------------
120    +package esmith::console;
121    +
122    +use strict;
123    +
124    +use Locale::gettext;
125    +use esmith::ConfigDB::unsaved;
126    +use esmith::console;
127    +
128    +my $console = esmith::console->new();
129    +
130    +my $db = esmith::ConfigDB::unsaved->open;
131    +
132    +my $termType = $db->get_prop('serial-console', 'Terminal') || '';
133    +
134    +$ENV{TERM} = $termType if($termType);
135    +
136    +$ARGV[0] = 'tty';
137    +$console = esmith::console->new();
138    +use esmith::console::startup;
139    +esmith::console::startup->new->doit($console,$db);
140    +
141    +system("/usr/bin/tput", "clear");
142    +exit (0);
143    +


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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