Twitter (was mache ich gerade?)

    Suche

     

    Credits

    Archiv

    Juli 2008
    Mo
    Di
    Mi
    Do
    Fr
    Sa
    So
     
     4 
     5 
     6 
    11
    12
    13
    14
    15
    17
    19
    20
    21
    24
    25
    26
    27
    29
    31
     
     
     
     

    Status

    Online seit 6916 Tagen
    Zuletzt aktualisiert: 17. Apr, 22:03

    Counter & Co.

    Egoload - Verträumter Idealist
    Mein
Koordinaten auf der EgoMap:  93,2
    100% Heidnisch

    Locations of visitors to this page

    Mittwoch, 23. Juli 2008

    Solaris "Hidden feature": /etc/inet/static_routes

    On our sites some of our machines have a nice init-Script called /etc/init.d/setroutes, that sets additional routes needed for correct operation. I always wondered why Sun obviously did not have such a feature built into the Solaris. I can't remember that we've spoken about this issue during the "Solaris 10 for experienced SysAdmins" seminar.
    I recently had enough and wondered if there would be any /lib/svc/method that contained the route command. And sure enough, net-init closes with the following lines:
     
    #
    # Read /etc/inet/static_routes and add each route.
    #
    if [ -f /etc/inet/static_routes ]; then
            echo "Adding persistent routes:"
            /usr/bin/egrep -v "^(#|$)" /etc/inet/static_routes | while read line; do
                    /usr/sbin/route add $line
            done
    fi
    

    In other words: Create a file /etc/inet/static_routes, containing a route definition starting after the route add command. E.g. to add a network route, instead of using
    # route add -net 192.168.111.0 192.168.111.1
    open the part containing
    -net 192.168.111.0 192.168.111.1
    to /etc/inet/static_routes. And you're set.
     
    This file came to my mind today after a colleague asked me today -- and two Sun Engineers afterwards.

    Aktuelle Beiträge

    Im happy I finally registered
    Excellent write-up. I absolutely love this site. Continue...
    http://mittenmail3.isblog.net/pick-a-winner-via-hashtag-entry-for-twitter-and-instagram-woobox-bl... (Gast) - 17. Apr, 22:03
    Just want to say Hi!
    I all the time emailed this blog post page to all...
    how to get instagram likes (Gast) - 30. Mär, 23:20
    Im happy I now signed...
    Hello, There's no doubt that your website could possibly...
    buy instagram followers cheap (Gast) - 30. Mär, 09:27
    Hallo Miau!
    Ich will einen schönen Tag wünschen, mit unseren Schmusekatzen....
    SCHLAGLOCH - 4. Apr, 14:51
    Sehe hier nut Tag und...
    Wo ist das Jahr an dem der Text geschrieben wurde?
    Gast (Gast) - 3. Mär, 20:38

    User Status

    Du bist nicht angemeldet.

    ...wenn man trotzdem lacht
    Atari Mega ST
    Auf Arbeit
    Bloggen
    Bookmarks & Links
    BSD
    Bundeswehr
    CCC07
    Computing
    Contentmafia
    Datenschutz
    DRM
    Fahrrad
    Finanzkrise
    Fundsachen
    G8
    ... weitere
    Profil
    Abmelden
    Weblog abonnieren