~ubuntu-branches/ubuntu/natty/busybox/natty

« back to all changes in this revision

Viewing changes to examples/var_service/inetd/run

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2010-10-13 11:03:32 UTC
  • mfrom: (2.1.9 sid)
  • Revision ID: james.westby@ubuntu.com-20101013110332-epixayl40r7l8mpi
Tags: 1:1.17.1-4ubuntu1
* Resynchronise with Debian.  Remaining changes:
  - [udeb] Enable chvt, getopt (and -l), killall, losetup, mktemp, NFS
    mount, od, ping, stat, and remote syslog.
  - [deb] Enable mdev.
  - [deb, static] Enable fractional sleep.
  - Enable 'mount -f' and mount helpers for all targets.
  - Add busybox-initramfs.
  - test-bin.patch: Move test and friends to /bin.
  - Add static-sh alias name for ash, and install /bin/static-sh symlink to
    busybox in busybox-static.
  - Use -marm on armel due to gcc thumb2 compilation issue.
  - grep-o-loop.patch: Fix infinite loop in 'grep -o' with a pattern that
    matches the zero-length string at the start of the line.
  - Add cross-compiling support.
  - applets-fallback.patch: Never execute busybox applets when chrooting.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
#exec >/dev/null
 
4
exec 2>&1
 
5
exec </dev/null
 
6
 
 
7
echo "* Starting inetd [$$]"
 
8
exec \
 
9
env - PATH="$PATH" \
 
10
softlimit \
 
11
inetd -f -e "$PWD/inetd.conf"
 
12
 
 
13
# inetd [-f] [-q len] [conf]
 
14
# -f      Run in foreground
 
15
# -e      Log to stderr (default is syslog)
 
16
# -q N    Set the size of the socket listen queue to N
 
17
#         (default: 128)