blob: 843fa47ff33dc5b32ae60d7b74a4496ed95adbca (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/sh
# put this to /etc/init.d/pugixml-autotest.sh, then launch
# sudo update-rc.d pugixml-autotest.sh defaults 80
# don't forget to chmod +x pugixml-autotest.sh and to replace /home/USERNAME with actual path
if [ "$1" = "start" ]
then
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin
cd /home/USERNAME/pugixml
perl tests/autotest-remote-host.pl "shutdown -P now" &
fi
|