Browse Source

Juergen Sawinski <george@mpimf-heidelberg.mpg.de>:

The back ticks for command execution lead to strange problems during
sysfiles installation (SysV init style). 


git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@1829 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Juergen "George" Sawinski 21 years ago
parent
commit
4eb2e9bb93
2 changed files with 6 additions and 2 deletions
  1. +4
    -0
      Documentation/Developers/CHANGELOG-RENE
  2. +2
    -2
      package/base/sysfiles/network.init

+ 4
- 0
Documentation/Developers/CHANGELOG-RENE

@ -1,4 +1,8 @@
*) 2003-11-21 (2.0.0-rc2 - 2.0.0-rc3)
- Juergen Sawinski: fixed network.init and back-ticks
*) 2003-11-20 (2.0.0-rc2 - 2.0.0-rc3)
- integrated rock-net (0.0.3)

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

@ -30,13 +30,13 @@ main_begin
block_begin(start, `Setting up network devices.')
[ -x /etc/network/getprofile ] && /etc/network/getprofile
profile="`cat /etc/network/profile`"
profile="$(cat /etc/network/profile)"
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="$(cat /etc/network/profile)"
profile={profile:-default}
check(`/etc/network/rocknet $profile auto down')
block_end

Loading…
Cancel
Save