#!/bin/bash

# Part two of the two manufacturing related scripts
# Determine if system is in manufacturing.
# If so, reboot the system.

if [ -e /var/nn/mfgonly/mfg.mfg ]; then
    echo `date +%c` "Shutting down system in Mfg to boot DOS partition." >> /var/log/mfgonly.log
    shutdown -r now
fi
    
