#!/bin/bash

is_interface_up() {
    /sbin/ifconfig|grep "^$1"
}

if is_interface_up prp0a && is_interface_up prp0b ; then

    ifup prp0

fi;