source: freewrt/package/base-files/default/etc/init.d/S40network@ 141418f

freewrt_1_0 freewrt_2_0
Last change on this file since 141418f was 141418f, checked in by Waldemar Brodkorb <wbx@…>, 19 years ago
  • remove some obsolete firewall config stuff
  • add old-style network configuration based on nvram
  • add new rc.conf file to configure which services should be started on startup, bsd-ish behavior
  • disable firewall by default in rc.conf, remote update via ssh is now possible. port 22 is open by default on wan side
  • enable suid bit on busybox and add a "admin" user
  • ssh via root is disabled (dropbear -w)
  • default password for "admin" is "FreeWRT", as well as for root please change directly after installation
  • remove telnetd from startup, will be used only for failsafe

git-svn-id: svn://www.freewrt.org/trunk/freewrt@181 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 296 bytes
Line 
1#!/bin/sh
2case "$1" in
3 start|restart)
4 ifup_interfaces=$(nvram get ifup_interfaces)
5 ifup_interfaces=${ifup_interfaces:-"lan wan wifi"}
6 for iface in $ifup_interfaces; do
7 ifup $iface
8 if [ "$iface" = "wifi" ]; then
9 $iface up
10 fi
11 done
12 ;;
13esac
14exit 0
Note: See TracBrowser for help on using the repository browser.