#!/bin/bash
# John the ripper shortcut script for Frugalware
# Tuxbubling <tuxbubling@tiscali.fr>

DIR=/usr/lib/john

if [ -x $DIR ]; then
	cd $DIR
	if [ -x ./john ]; then
		exec ./john  --config=/etc/john/john.conf "$@"
	else
		echo "Cannot execute john, or john executable missing."
		echo "Review your installation!"
	fi
else
	echo "Cannot cd to john install dir, or dir missing."
	echo "Review your installation!"
fi