#!/usr/bin/env ruby begin require 'rubygems' rescue LoadError end require 'shutter' config_path = ENV['SHUTTER_CONFIG'] || "/etc/shutter.d" ENV['SHUTTER_MODE'] = ENV['SHUTTER_MODE'] || "production" Shutter::CommandLine.new(config_path).execute