summaryrefslogtreecommitdiffstats
path: root/build_tools/l7/larch0/profiles/i686-testing-local/rootoverlay/etc/larch-shutdown
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-09-19 02:12:09 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-09-19 02:12:09 (GMT)
commit2e5bbabf1f5e0f341be196f2f5575d91859bd2d0 (patch)
treea34146680fb449c61fa50fe1b1dcc3bbd598f204 /build_tools/l7/larch0/profiles/i686-testing-local/rootoverlay/etc/larch-shutdown
parent43a158579d6c32f069fbc287a55227552276f808 (diff)
downloadlinhes_dev-2e5bbabf1f5e0f341be196f2f5575d91859bd2d0.zip
larch7: cleanup up profiles.
l7 is not working yet, but still working on it. Signed-off-by: James Meyer <james.meyer@operamail.com>
Diffstat (limited to 'build_tools/l7/larch0/profiles/i686-testing-local/rootoverlay/etc/larch-shutdown')
-rw-r--r--build_tools/l7/larch0/profiles/i686-testing-local/rootoverlay/etc/larch-shutdown47
1 files changed, 0 insertions, 47 deletions
diff --git a/build_tools/l7/larch0/profiles/i686-testing-local/rootoverlay/etc/larch-shutdown b/build_tools/l7/larch0/profiles/i686-testing-local/rootoverlay/etc/larch-shutdown
deleted file mode 100644
index d614d4b..0000000
--- a/build_tools/l7/larch0/profiles/i686-testing-local/rootoverlay/etc/larch-shutdown
+++ /dev/null
@@ -1,47 +0,0 @@
-# Functions used by rc.shutdown
-# Modified versions for larch live systems
-
-f_saveclock ()
-{
- :
-}
-
-f_swapoff ()
-{
- ############################# Include session saving functions
- # . /opt/larch-live/session-save/shutdown2
- # if [ -f /tmp/checkse ]; then
- # . /tmp/checkse
- #else
- # checkse
- # fi
-
- if [ -n "${saving}" ] && ! session_save; then
- echo
- echo "If you know what you are doing, you may be able to recover"
- echo "something from this unpleasant situation."
- echo
- echo "You may use the command line to investigate further ..."
- echo
- echo "When finished please enter 'exit', the shutdown process will"
- echo "then continue."
- sh -i
- fi
-
- #############################
-
- stat_busy "Deactivating Swap"
- /sbin/swapoff -a
- stat_done
-}
-
-f_remountro ()
-{
- if [ -n "${ejectdev}" ]; then
- echo "Ejecting live CD"
- eject ${ejectdev}
- echo "sleeping for 6 seconds"
- sleep 6
-
- fi
-}