[prev in list] [next in list] [prev in thread] [next in thread]
List: ipcop-svn
Subject: [Ipcop-svn] SF.net SVN: ipcop:[7879] ipcop/trunk
From: owes () users ! sourceforge ! net
Date: 2015-02-08 13:00:25
Message-ID: E1YKRTV-0004Tz-74 () sfs-ml-3 ! v29 ! ch3 ! sourceforge ! com
[Download RAW message or body]
Revision: 7879
http://sourceforge.net/p/ipcop/svn/7879
Author: owes
Date: 2015-02-08 13:00:24 +0000 (Sun, 08 Feb 2015)
Log Message:
-----------
Add version and kernelversion to startup logline.
Modified Paths:
--------------
ipcop/trunk/src/rc.d/rc.sysinit
ipcop/trunk/updates/2.2.0/ROOTFILES.i486-2.2.0
Modified: ipcop/trunk/src/rc.d/rc.sysinit
===================================================================
--- ipcop/trunk/src/rc.d/rc.sysinit 2015-02-08 12:46:22 UTC (rev 7878)
+++ ipcop/trunk/src/rc.d/rc.sysinit 2015-02-08 13:00:24 UTC (rev 7879)
@@ -15,7 +15,7 @@
# You should have received a copy of the GNU General Public License
# along with IPCop. If not, see <http://www.gnu.org/licenses/>.
#
-# (c) 2001-2014, the IPCop team
+# (c) 2001-2015, the IPCop team
#
# $Id$
#
@@ -190,6 +190,9 @@
fi
fi
+IPCOPVERSION=`/usr/bin/perl -e "require '/usr/lib/ipcop/general-functions.pl';print \
\\$General::version;"` +IPCOPKERNEL=`/bin/uname -r`
+
echo -ne "Setting hostname ... "
if [ -z "$DOMAINNAME" ]; then
/bin/hostname $HOSTNAME
@@ -215,15 +218,15 @@
test_ok
fi
-if [ -L /boot/System.map -a -r /boot/System.map-`/bin/uname -r` -a \
- ! /boot/System.map -ef /boot/System.map-`/bin/uname -r` ]; then
+if [ -L /boot/System.map -a -r /boot/System.map-${IPCOPKERNEL} -a \
+ ! /boot/System.map -ef /boot/System.map-${IPCOPKERNEL} ]; then
echo -ne "Updating System.map file location ... "
- /bin/ln -s -f System.map-`/bin/uname -r` /boot/System.map
+ /bin/ln -s -f System.map-${IPCOPKERNEL} /boot/System.map
test_ok
fi
-if [ ! -e /boot/System.map -a -r /boot/System.map-`uname -r` ]; then
+if [ ! -e /boot/System.map -a -r /boot/System.map-${IPCOPKERNEL} ]; then
echo -ne "Updating System.map file location ... "
- /bin/ln -s -f System.map-`/bin/uname -r` /boot/System.map
+ /bin/ln -s -f System.map-${IPCOPKERNEL} /boot/System.map
test_ok
fi
@@ -425,7 +428,7 @@
echo "Running rc.event"
/etc/rc.d/rc.event system up
-/usr/bin/logger -t ipcop "IPCop started."
+/usr/bin/logger -t ipcop "IPCop ${IPCOPVERSION} started with kernel ${IPCOPKERNEL}."
# Start RED if 'Connect on IPCop restart' enabled
/etc/rc.d/rc.net --startred
Modified: ipcop/trunk/updates/2.2.0/ROOTFILES.i486-2.2.0
===================================================================
--- ipcop/trunk/updates/2.2.0/ROOTFILES.i486-2.2.0 2015-02-08 12:46:22 UTC (rev 7878)
+++ ipcop/trunk/updates/2.2.0/ROOTFILES.i486-2.2.0 2015-02-08 13:00:24 UTC (rev 7879)
@@ -1,6 +1,7 @@
## please place IPCop files first, then packages sorted by alphabetical order
##
/etc/rc.d/rc.red
+/etc/rc.d/rc.sysinit
/home/httpd/cgi-bin/logsystem.cgi
/home/httpd/cgi-bin/updates.cgi
/usr/local/bin/accountingctrl
This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic