forked from lxcenter/kloxo
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove setup-runkexec; add run-kexec; mod/fix for run script of qmail…
…; add CustomHeader for hiawatha.conf.base; fix install-pure-ftpd-without-cap
- Loading branch information
1 parent
c4536d9
commit 5491fca
Showing
12 changed files
with
54 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
7.0.0.c-2017082302 | ||
7.0.0.c-2017082501 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/bin/sh | ||
|
||
echo "*** Run 'kexec' (for fast reboot) ***" | ||
|
||
|
||
if [ "$(sh /script/virtual-info -t)" == "container" ] ; then | ||
echo '- Not work in Container-type VPS (like OpenVZ)' | ||
exit | ||
fi | ||
|
||
if [ "$(rpm -qa kexec-tools)" == "" ] ; then | ||
echo "- Install 'kexec-tools'" | ||
yum install kexec-tools -y | ||
fi | ||
|
||
if [ "${1}" != "" ] ; then | ||
KV=${1} | ||
else | ||
VM=$(ls /boot/ | grep vmlinuz|tail -n 1) | ||
KV=${VM#vmlinuz-} | ||
fi | ||
|
||
PC=$(cat /proc/cmdline) | ||
|
||
kexec -l --append="${PC}" --initrd=/boot/initramfs-${KV}.img /boot/vmlinuz-${KV} | ||
kexec -e |
This file was deleted.
Oops, something went wrong.