diff -Nur smeserver-centos2sme-6.9.1.old/root/usr/bin/centos2sme smeserver-centos2sme-6.9.1/root/usr/bin/centos2sme --- smeserver-centos2sme-6.9.1.old/root/usr/bin/centos2sme 2018-03-09 14:43:39.000000000 -0500 +++ smeserver-centos2sme-6.9.1/root/usr/bin/centos2sme 2018-03-10 12:19:59.530000000 -0500 @@ -1,5 +1,9 @@ #!/bin/bash + +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." +read testme + echo "disabling and removing SELinux" sed -i -e 's/rhgb quiet/selinux=0/g' /boot/grub/grub.conf sed -i -e 's/SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config @@ -36,6 +40,9 @@ echo "yum groupinstall" yum --disablerepo=* --enablerepo=smeos,smeupdates groupinstall base -y +echo "set PATH" +PATH="/sbin/e-smith/:$PATH" + echo "cleaning rpm not necessary or possibly conflicting" yum remove postfix -y 1>/dev/null @@ -102,6 +109,5 @@ # reboot -echo "you just have to issue a signal-event reboot; or simply a reboot and enjoy your SME" - -# to do use full path for sme commands +echo "you just have to issue a '/sbin/e-smith/signal-event reboot'; or simply 'reboot' and enjoy your SME" +echo "But before that, are you sure you have added a working SSH key to ~/.ssh/authorized_keys ?"