OpenVZ Forum


Home » General » Support » VE not rebooting
Re: VE not rebooting [message #31612 is a reply to message #29173] Fri, 04 July 2008 07:02 Go to previous message
azagzin is currently offline  azagzin
Messages: 38
Registered: May 2008
Location: Vilnius
Member
edit with you favorit editor /etc/init.d/reboot.sh
vi /etc/init.d/reboot.sh


and add ">//reboot" string
that's all

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
>//reboot
opts="-dpk"
[ "${RC_DOWN_INTERFACE}" = "yes" ] && opts="${opts}i"

/sbin/reboot "${opts}" 2>/dev/null

# hmm, if the above failed, that's kind of odd ...
# so let's force a reboot
/sbin/reboot -f
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Need Help Benchmarking vzmigrate
Next Topic: Put DB2 into template - impossible?
Goto Forum:
  


Current Time: Sat Aug 02 16:49:37 GMT 2025

Total time taken to generate the page: 0.91958 seconds