• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/tinyhttpd/S85tinyhttpd
"Steven J. Hill""Steven J. Hill" committed 80de02162d217 Jul 2007
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
#! /bin/sh
2
​
3
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
4
NAME=tinyhttpd
5
​
6
test -x /usr/sbin/$NAME || exit 0
7
mkdir -p /var/www
8
​
9
case "$1" in
10
  start)
11
    echo -n "Starting $NAME: "
12
    $NAME > /dev/null &
13
    echo "done"
14
    ;;
15
  stop)
16
    echo -n "Stopping $NAME: "
17
    killall -9 $NAME
18
    echo "done"
19
    ;;
20
  restart)
21
    echo -n "Restarting $NAME: "
22
    killall -9 $NAME
23
    sleep 1
24
    $NAME > /dev/null &
25
    echo "done"
26
    ;;
27
  *)
28
    echo "Usage: /etc/init.d/S85tinyhttpd {start|stop|restart}" >&2
29
    exit 1
30
    ;;
31
esac
32
​
33
exit 0
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.