~julian-edwards/maas/packaging-add-maas-probe-dhcp

« back to all changes in this revision

Viewing changes to debian/extras/maas-probe-dhcp

  • Committer: Julian Edwards
  • Date: 2014-01-14 05:08:51 UTC
  • Revision ID: julian.edwards@canonical.com-20140114050851-i5raqnfbwcw4r7o2
Add maas-probe-dhcp binary to /usr/sbin

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
if [ "$(id -u)" != "0" ]; then
 
3
        echo "This utility may only be run as root." 1>&2
 
4
        exit 1
 
5
fi
 
6
export PYTHONPATH="/usr/share/maas${PYTHONPATH:+:}${PYTHONPATH}"
 
7
exec /usr/bin/python -m provisioningserver/dhcp/probe "$@"