diff options
author | James Meyer <jams@linhes.org> | 2010-12-04 23:44:45 (GMT) |
---|---|---|
committer | James Meyer <jams@linhes.org> | 2010-12-04 23:44:51 (GMT) |
commit | f51fb708846d13222bd97b3f760eb3be902c0be0 (patch) | |
tree | ad25ff81828f12cb7da86384863e163cb4e001f2 /build_tools/clarch/larch/profiles/i686-testing-local/rootoverlay/etc/larch-shutdown | |
parent | 4384efe238cdfeac86fae0d8e1097a409350f8c6 (diff) | |
download | linhes_dev-f51fb708846d13222bd97b3f760eb3be902c0be0.zip |
remove old versions of larch 6 and 7
Diffstat (limited to 'build_tools/clarch/larch/profiles/i686-testing-local/rootoverlay/etc/larch-shutdown')
-rw-r--r-- | build_tools/clarch/larch/profiles/i686-testing-local/rootoverlay/etc/larch-shutdown | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/build_tools/clarch/larch/profiles/i686-testing-local/rootoverlay/etc/larch-shutdown b/build_tools/clarch/larch/profiles/i686-testing-local/rootoverlay/etc/larch-shutdown deleted file mode 100644 index d614d4b..0000000 --- a/build_tools/clarch/larch/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 -} |