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

Contents of /rpms/smeserver-centos2sme/contribs9/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)
Sat Mar 10 17:26:09 2018 UTC (6 years, 2 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-centos2sme-6_9_1-4_el6_sme, smeserver-centos2sme-6_9_1-5_el6_sme, HEAD
* Sat Mar 10 2018 Jean-Philipe Pialasse <tests@pialasse.com> 6.9.1-4.sme
- fix execution permission on /usr/bin/centos2sme [SME: 10535]
- added warning at the begining of script to check for working network interface
- added warning at end of script to add a SSH key before the reboot
- added full path to signal-event in the last messages
- set path after first packages installation.

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