Browse Source

"Andreas V. Meier" <avmeier@web.de>:

two tiny fixes for network.init


git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@1989 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Rene Rebe 21 years ago
parent
commit
f17ffb9f26
2 changed files with 5 additions and 4 deletions
  1. +1
    -0
      Documentation/Developers/CHANGELOG-RENE
  2. +4
    -4
      package/base/sysfiles/network.init

+ 1
- 0
Documentation/Developers/CHANGELOG-RENE

@ -6,6 +6,7 @@
updated runit, and make it ROCK
- Benjamin Schieder: hand-tuned dvgrab's priority
- Sebastian Jaenicke: update ethereal
- Andreas V. Meier: two tiny fixes for network.init
*) 2003-12-13 (2.0.0-rc3 - 2.0.0-rc4)

+ 4
- 4
package/base/sysfiles/network.init

@ -30,14 +30,14 @@ main_begin
block_begin(start, `Setting up network devices.')
[ -x /etc/network/getprofile ] && /etc/network/getprofile
profile="$(cat /etc/network/profile)"
profile={profile:-default}
profile="$(cat /etc/network/profile 2>/dev/null)"
profile=${profile:-default}
check(`/etc/network/rocknet $profile auto up')
block_end
block_begin(stop, `Shutting down network devices.')
profile="$(cat /etc/network/profile)"
profile={profile:-default}
profile="$(cat /etc/network/profile 2>/dev/null)"
profile=${profile:-default}
check(`/etc/network/rocknet $profile auto down')
block_end

Loading…
Cancel
Save