1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-14 22:39:41 +02:00
openwrt-xburst/openwrt/package/php4/files/php.init
nico 8d6baf0057 Add php4 package (Thanks aorlinsk and enzo for the help)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1334 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-07-04 17:03:18 +00:00

20 lines
200 B
Bash

#!/bin/sh
export PHP_FCGI_CHILDREN=''
PORT=1026
BIN=/usr/sbin/php
case $1 in
start)
$BIN -b $PORT &
;;
stop)
kill `pidof php`
;;
*)
echo "usage: $0 (start|stop)"
exit 1
esac
exit $?