root/floppyfw/devkitstuff/S01filesystems.livekit

Revision 51, 428 bytes (checked in by root, 6 years ago)

Files for the live CD.

  • Property svn:executable set to *
Line 
1#!/bin/sh
2#
3# Mounts filesystems.
4#
5
6umask 077
7
8start() {
9        free
10        echo -n "Cleaning up from initrd: "
11        /bin/umount /mnt
12        /sbin/freeramdisk /dev/ram0
13        free
14        echo "OK"
15        echo -n "Mounting filesystems: "
16        /bin/mount -a
17        echo "OK"
18}
19
20stop() {
21        return
22}
23restart() {
24        return
25}
26
27case "$1" in
28  start)
29        start
30        ;;
31  stop)
32        stop
33        ;;
34  restart|reload)
35        restart
36        ;;
37  *)
38        echo $"Usage: $0 {start|stop|restart}"
39        exit 1
40esac
41
42exit $?
43
Note: See TracBrowser for help on using the browser.