#!/bin/sh
# Copyright (C) 2007 OpenWrt.org

/etc/init.d/autossh enabled && {

	[ "$ACTION" = "ifup" ] && {
		/etc/init.d/autossh start
	}

	[ "$ACTION" = "ifdown" ] && {
		/etc/init.d/autossh stop
	}

}
