[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

/etc/netstart.local



  I suggest to add one more rc-script (to run after netstart).

(separated from "right place for routes, etc", suggestion II)

diff -c /etc/netstart.old /etc/netstart
    ($OpenBSD: netstart,v 1.84 2002/02/23 01:55:24 deraadt Exp $)
---------------------------------------
*** /etc/netstart.old   Mon Apr  1 13:31:14 2002
--- /etc/netstart       Mon Mar 31 19:01:37 2003
***************
*** 333,335 ****
--- 333,338 ----

        bridgestart $if
  done
+
+ # Do final actions to configure network
+ [ -f /etc/netstart.local ] && . /etc/netstart.local
---------------------------------------

cat /etc/netstart.local (example)
---------------------------------------
# $OpenBSD$

#
#   Here, you can perform necessary actions, to complete
# configuring network.
#   i.e. complex routing, complex encapsulations, ARP
# settings etc.
#
#   Do not run any daemons here, use /etc/rc.local instead
#
---------------------------------------

Any comments ?

(separated from "right place for routes, etc", suggestion II)

Ilya A. Kovalenko
System Administrator
JSC Oganer-Service, Norilsk, Russia



Visit your host, monkey.org