#!/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
