|
|
@ -3,7 +3,7 @@ |
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
# |
|
|
|
# Filename: target/idunn/initramfs/etc_rc.d_rc.switchroot.sh |
|
|
|
# Copyright (C) 2008 The OpenSDE Project |
|
|
|
# Copyright (C) 2008 - 2009 The OpenSDE Project |
|
|
|
# |
|
|
|
# More information can be found in the files COPYING and README. |
|
|
|
# |
|
|
@ -18,7 +18,9 @@ |
|
|
|
|
|
|
|
case "$1" in |
|
|
|
stop) |
|
|
|
# TODO: stop network |
|
|
|
title "Stoping network interfaces" |
|
|
|
check unet down |
|
|
|
status |
|
|
|
|
|
|
|
title "Moving special filesystems" |
|
|
|
for x in dev sys proc; do |
|
|
@ -34,7 +36,9 @@ revive) |
|
|
|
done |
|
|
|
status |
|
|
|
|
|
|
|
# TODO: restart network |
|
|
|
title "Restarting network interfaces" |
|
|
|
check unet up |
|
|
|
status |
|
|
|
|
|
|
|
title "Restarting Supervisor" |
|
|
|
check start-stop-daemon -S -b -x /usr/bin/runsvdir -- /var/service/ |
|
|
|