projects
/
sysadmin-cookbook
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
restart acpi on host
[sysadmin-cookbook]
/
recepies
/
ganeti
/
migrate-lxc
/
I-acpi-restart.sh
1
#!/bin/sh -x
2
3
. ./0-host.sh
4
5
#ssh_host apt-get install --reinstall -y initscripts acpid
6
ssh_host /etc/init.d/acpid restart
7
ssh_host lsmod | grep button
8
ssh_host tail -2 /var/log/messages