version 1.383, 2011/07/08 22:20:05 |
version 1.384, 2011/07/09 01:30:27 |
|
|
# If rc.firstime exists, run it just once, and make sure it is deleted |
# If rc.firstime exists, run it just once, and make sure it is deleted |
if [ -f /etc/rc.firsttime ]; then |
if [ -f /etc/rc.firsttime ]; then |
mv /etc/rc.firsttime /etc/rc.firsttime.run |
mv /etc/rc.firsttime /etc/rc.firsttime.run |
. /etc/rc.firsttime.run 2>&1 | mail -s 'rc.firsttime output' \ |
. /etc/rc.firsttime.run 2>&1 | tee /dev/tty | |
root >/dev/null |
mail -s 'rc.firsttime output' root >/dev/null |
fi |
fi |
rm -f /etc/rc.firsttime.run |
rm -f /etc/rc.firsttime.run |
|
|