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
@ -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)
@ -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.')
check(`/etc/network/rocknet $profile auto down')