Changeset 10920 in hybrid


Ignore:
Timestamp:
May 19, 2012, 7:17:39 PM (13 years ago)
Author:
rick
Message:

This kind of hacks makes me cry, but are needed for the normal_proxy setups.

Related-To: beheer:ticket:225

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/releng-9.0/nanobsd/files/root/.cshrc

    r10918 r10920  
    3535        endif
    3636endif
     37
     38# Quirck to make sure the current interactive session actually has FIB=0
     39# assigned. When sshd(4) is running under FIB=1 for example, it will default to
     40# FIB=1. This will make sure the shell behaviour routing wise is like an
     41# normal client.
     42if ($?prompt) then
     43  if (`sysctl -n net.my_fibnum` != 0) then
     44    echo "# WARN: Multiple routing tables use! Defaulting new shell to FIB=0"
     45    setfib -0 csh
     46    logout
     47  endif
     48endif
    3749   
    3850if ($?prompt) then
Note: See TracChangeset for help on using the changeset viewer.