summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-11-22 00:54:19 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-11-22 00:54:19 +0000
commit8182275e798641b061343a65eaefeca0bf15ee25 (patch)
tree3254879f3f0733cc9840d5c8653f006567b6d8eb /etc
parent8c4c46c3c2aa31ad0f279521f99769135a31fb1c (diff)
downloadpfsense-8182275e798641b061343a65eaefeca0bf15ee25.zip
pfsense-8182275e798641b061343a65eaefeca0bf15ee25.tar.gz
Start the pfSense php shell playback library archive.
Diffstat (limited to 'etc')
-rw-r--r--etc/phpshellsessions/restartftphelper15
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."
OpenPOWER on IntegriCloud