File: start-stop-daemon

package info (click to toggle)
lessdisks 0.5.3cvs.20040906-16
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,480 kB
  • ctags: 271
  • sloc: sh: 3,058; makefile: 92
file content (17 lines) | stat: -rwxr-xr-x 510 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

# execute the real start-stop-daemon with all arguments,
# unless LESSDISKS_START_STOP_DAEMON is set.

# this requires that the real start-stop-daemon be moved aside by something such as
# dpkg-divert.

# copyright 2004 vagrant@freegeek.org, distributed under the terms of the
# GNU General Public License version 2 or any later version.

if [ -z "$LESSDISKS_START_STOP_DAEMON" ]; then
  exec /sbin/start-stop-daemon.real $@
else
  echo "Fake start-stop-daemon called, doing nothing..."
  exit 0
fi