Changeset 5189 in /cluster/svnroot


Ignore:
Timestamp:
Jun 27, 2015 1:28:20 PM (5 years ago)
Author:
skylar
Message:

only run bccd-nat on node000 re #941

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bccd-ng/branches/skylar/bccd-3.4.0/packages/etc/init.d/bccd-nics

    r4964 r5189  
    3434/bin/bccd-nic-probe
    3535
    36 if test $(cat /etc/bccd-stage) = "LIVE" ; then
     36if [ "$(cat /etc/bccd-stage)" = "LIVE" ] ; then
    3737    # Debian /dev/console (boot-time terminal) does not understand
    3838    # terminal escapes
    3939        /usr/bin/rlwrap /bin/bccd-nic-setup
    40         /bin/bccd-nat
     40    if [ "$(/bin/hostname -s)" = "node000" ] ; then
     41        /bin/bccd-nat
     42    fi
    4143fi
    4244
Note: See TracChangeset for help on using the changeset viewer.