#!/bin/sh if [ "$USER" != "<%= @mgaadv_login %>" ]; then echo "This script must be run as the <%= @mgaadv_login %> user." >&2 exit 1 fi exec sudo <%= @move_script %> "$@"