/[smecontribs]/rpms/smeserver-centos2sme/contribs10/smeserver-centos2sme-6.9.1-bz10535-fix-path.patch
ViewVC logotype

Contents of /rpms/smeserver-centos2sme/contribs10/smeserver-centos2sme-6.9.1-bz10535-fix-path.patch

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


Revision 1.1 - (show annotations) (download)
Sun Dec 15 22:23:42 2019 UTC (4 years, 11 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-centos2sme-6_9_1-10_el7_sme, smeserver-centos2sme-6_9_1-13_el7_sme, smeserver-centos2sme-6_9_1-12_el7_sme, smeserver-centos2sme-6_9_1-6_el7_sme, smeserver-centos2sme-6_9_1-7_el7_sme, smeserver-centos2sme-6_9_1-8_el7_sme, smeserver-centos2sme-6_9_1-11_el7_sme, smeserver-centos2sme-6_9_1-9_el7_sme, HEAD
Initial import

1 diff -Nur smeserver-centos2sme-6.9.1.old/root/usr/bin/centos2sme smeserver-centos2sme-6.9.1/root/usr/bin/centos2sme
2 --- smeserver-centos2sme-6.9.1.old/root/usr/bin/centos2sme 2018-03-09 14:43:39.000000000 -0500
3 +++ smeserver-centos2sme-6.9.1/root/usr/bin/centos2sme 2018-03-10 12:19:59.530000000 -0500
4 @@ -1,5 +1,9 @@
5 #!/bin/bash
6
7 +
8 +echo "Welcome to the CentOS to SME Server script. Ar you sure you have at least one ethernet interface before proceeding ? Hit Ctrl+C if unsure, press 'enter' if you are OK to proceed."
9 +read testme
10 +
11 echo "disabling and removing SELinux"
12 sed -i -e 's/rhgb quiet/selinux=0/g' /boot/grub/grub.conf
13 sed -i -e 's/SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config
14 @@ -36,6 +40,9 @@
15 echo "yum groupinstall"
16 yum --disablerepo=* --enablerepo=smeos,smeupdates groupinstall base -y
17
18 +echo "set PATH"
19 +PATH="/sbin/e-smith/:$PATH"
20 +
21 echo "cleaning rpm not necessary or possibly conflicting"
22 yum remove postfix -y 1>/dev/null
23
24 @@ -102,6 +109,5 @@
25
26
27 # reboot
28 -echo "you just have to issue a signal-event reboot; or simply a reboot and enjoy your SME"
29 -
30 -# to do use full path for sme commands
31 +echo "you just have to issue a '/sbin/e-smith/signal-event reboot'; or simply 'reboot' and enjoy your SME"
32 +echo "But before that, are you sure you have added a working SSH key to ~/.ssh/authorized_keys ?"

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