diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-11-22 00:54:19 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-11-22 00:54:19 +0000 |
commit | 8182275e798641b061343a65eaefeca0bf15ee25 (patch) | |
tree | 3254879f3f0733cc9840d5c8653f006567b6d8eb | |
parent | 8c4c46c3c2aa31ad0f279521f99769135a31fb1c (diff) | |
download | pfsense-8182275e798641b061343a65eaefeca0bf15ee25.zip pfsense-8182275e798641b061343a65eaefeca0bf15ee25.tar.gz |
Start the pfSense php shell playback library archive.
-rw-r--r-- | etc/phpshellsessions/restartftphelper | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/etc/phpshellsessions/restartftphelper b/etc/phpshellsessions/restartftphelper new file mode 100644 index 0000000..ca5ab01 --- /dev/null +++ b/etc/phpshellsessions/restartftphelper @@ -0,0 +1,15 @@ +! echo "Killing ftp-proxy if started..." += killall ftp-proxy +! echo "Killing pftpx if started..." += killall pftpx +! echo "Killing ftpsesame if started..." += killall ftpsesame +! echo "Running php function system_start_ftp_helpers()..." +system_start_ftp_helpers(); +! echo "Checking if ftp-proxy is running..." += ps awux | grep "pftpx|ftp-proxy" +! echo "Checking if pftpx is running..." += ps awux | grep "pftpx|pftpx" +! echo "Checking if ftpsesame is running..." += ps awux | grep "pftpx|ftpsesame" +! echo "Done." |