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