#!/bin/sh

# If NVUE has previously been run, reapply its configuration on
# first boot to the upgrade partition, in case it needs to modify
# any files not in /etc .
if /usr/bin/grep -q 'Auto-generated by NVUE!' /etc/nsswitch.conf ; then
    /usr/bin/sudo -u cumulus /usr/bin/nv config apply applied -y
fi
