diff options
| author | Felix Fietkau <nbd@openwrt.org> | 2006-04-13 22:20:15 +0000 |
|---|---|---|
| committer | Felix Fietkau <nbd@openwrt.org> | 2006-04-13 22:20:15 +0000 |
| commit | e6164b615a9710c676a386cf15096f08427e25f8 (patch) | |
| tree | 76ee99088d8c39ed66890d96ef27ac86ab817b50 /openwrt/package/tinyproxy/files/tinyproxy.init | |
| parent | 9b93a39c2c52142e7200f9aee8735d5a2b7793d5 (diff) | |
| download | mtk-20170518-e6164b615a9710c676a386cf15096f08427e25f8.zip mtk-20170518-e6164b615a9710c676a386cf15096f08427e25f8.tar.gz mtk-20170518-e6164b615a9710c676a386cf15096f08427e25f8.tar.bz2 | |
remove lots of non-essential packages
SVN-Revision: 3641
Diffstat (limited to 'openwrt/package/tinyproxy/files/tinyproxy.init')
| -rwxr-xr-x | openwrt/package/tinyproxy/files/tinyproxy.init | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/openwrt/package/tinyproxy/files/tinyproxy.init b/openwrt/package/tinyproxy/files/tinyproxy.init deleted file mode 100755 index 3830d95..0000000 --- a/openwrt/package/tinyproxy/files/tinyproxy.init +++ /dev/null @@ -1,50 +0,0 @@ -#! /bin/sh - -PATH=/sbin:/bin:/usr/sbin:/usr/bin -NAME=tinyproxy -DESC="Tiny HTTP and HTTPS proxy" -case "$1" in - start) - if [ -e /var/run/$NAME.pid ]; then - echo "$DESC: $NAME already started." - exit 0 - fi - echo -n "Starting $DESC: $NAME" - test -e /var/run/$NAME.pid || touch /var/run/$NAME.pid - /usr/sbin/$NAME - echo "." - ;; - - stop) - if [ ! -e /var/run/$NAME.pid ]; then - echo "$DESC: $NAME is not running." - exit 0 - fi - echo -n "Stopping $DESC: $NAME" - killall $NAME - rm -f /var/run/$NAME.pid - - echo "." - ;; - - restart|force-reload) - if [ ! -e /var/run/$NAME.pid ]; then - $0 start - exit 0 - fi - echo -n "Restarting $DESC: $NAME" - killall $NAME - sleep 1 -/usr/sbin/$NAME - echo "." - ;; - - *) - N=/etc/init.d/$NAME - echo "Usage: $N {start|stop|restart|force-reload}" >&2 - exit 1 - ;; - -esac - -exit 0
\ No newline at end of file |
