service vz [message #822] |
Sun, 15 January 2006 16:46 |
Valmont
Messages: 225 Registered: September 2005
|
Senior Member |
|
|
I'll knew, that openvz project is focused to Redhat, and some Redhat system.
But maybe with a view of compatibility it would be quite good to change in file /etc/init.d/vz
this
# Source function library.
. /etc/rc.d/init.d/functions
to something like that:
# Source function library.
if [ -f /etc/init.d/functions ]; then
. /etc/init.d/functions
elif [ -f /etc/rc.d/init.d/functions ; then
. /etc/rc.d/init.d/functions
else
echo "Could not find functions file. Exiting."
exit 1
fi
|
|
|
|
|
|
|