--- rpms/e-smith-base/sme10/e-smith-base-5.8.0-bz11318-runlevel7.patch 2021/01/11 08:45:21 1.1 +++ rpms/e-smith-base/sme10/e-smith-base-5.8.0-bz11318-runlevel7.patch 2021/01/11 08:50:31 1.3 @@ -23,8 +23,8 @@ diff -Nur e-smith-base-5.8.0.old/createl or die "Can't symlink to root/usr/lib/systemd/system/$target.target.wants/$unit: $!"; } } -+my $unit="bootstrap-console.service"; -+my $target="basic"; ++$unit="bootstrap-console.service"; ++$target="basic"; +symlink("../$unit", + "root/usr/lib/systemd/system/$target.target.wants/$unit") + or die "Can't symlink to root/usr/lib/systemd/system/$target.target.wants/$unit: $!"; @@ -93,3 +93,13 @@ diff -Nur e-smith-base-5.8.0.old/root/us + +[Install] +WantedBy=sme-server.target +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 +--- 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 ++++ e-smith-base-5.8.0/root/etc/e-smith/db/configuration/defaults/bootstrap-runlevel7/status 2021-01-11 03:49:10.495000000 -0500 +@@ -0,0 +1 @@ ++enabled +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 +--- 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 ++++ e-smith-base-5.8.0/root/etc/e-smith/db/configuration/defaults/bootstrap-runlevel7/type 2021-01-11 03:49:02.843000000 -0500 +@@ -0,0 +1 @@ ++service