From e63bcf3e09108f6e8df1a63203e4ad50516d68d8 Mon Sep 17 00:00:00 2001 From: Mike Hiretsky Date: Thu, 15 Dec 2011 10:07:32 +0400 Subject: [PATCH] Fix loading net service after creating. --- data/calculate | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/data/calculate b/data/calculate index 7339b32..ad40cc5 100644 --- a/data/calculate +++ b/data/calculate @@ -120,6 +120,10 @@ start() { source /etc/profile /sbin/update-modules + # reinit net.* services + local roottype=`variable_value os_root_type` + [[ $roottype == "livecd" ]] && udevadm trigger --action="add" --subsystem-match=net + /sbin/rc-update --update return 0 }