31 Jan 2010

Error message

  • Warning: Invalid argument supplied for foreach() in nitobe_css_reorder() (line 90 of /home/rstlv/public_html/admin.alfalinks.lv/sites/all/themes/nitobe2/nitobe_960.inc).
  • Warning: Invalid argument supplied for foreach() in nitobe_css_reorder() (line 90 of /home/rstlv/public_html/admin.alfalinks.lv/sites/all/themes/nitobe2/nitobe_960.inc).
  • Warning: uasort(): Array was modified by the user comparison function in drupal_get_css() (line 2930 of /home/rstlv/public_html/admin.alfalinks.lv/includes/common.inc).
  • Warning: ksort() expects parameter 1 to be array, null given in drupal_group_css() (line 3048 of /home/rstlv/public_html/admin.alfalinks.lv/includes/common.inc).
  • Warning: ksort() expects parameter 1 to be array, null given in drupal_group_css() (line 3048 of /home/rstlv/public_html/admin.alfalinks.lv/includes/common.inc).
  • Warning: ksort() expects parameter 1 to be array, null given in drupal_group_css() (line 3048 of /home/rstlv/public_html/admin.alfalinks.lv/includes/common.inc).
Posted by shroman

To add static routes on system start-up one can use directory:

/etc/network/if-up.d/

create executable file and add required actions there, file is run right after the network interfaces are up.

e.g.
vi /etc/network/if-up.d/static-routes

#!/bin/sh
#  Add static routes
#
/sbin/route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.1.254
 

Tags: