mirror of
https://github.com/zeux/pugixml.git
synced 2024-12-31 00:13:01 +08:00
2412872c09
git-svn-id: http://pugixml.googlecode.com/svn/trunk@426 99668b35-9821-0410-8761-19e4c4f06640
11 lines
329 B
Bash
11 lines
329 B
Bash
#!/bin/sh
|
|
# put this to /etc/rc.d/pugixml-autotest
|
|
# don't forget to chmod +x pugixml-autotest and to replace /home/USERNAME with actual path
|
|
|
|
if [ "$1" = "start" -o "$1" = "faststart" ]
|
|
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
|