Diff of /trunk/busybox-initscripts/rc/swap
Parent Directory | Revision Log | Patch
revision 724 by niro, Mon Jun 2 22:14:35 2008 UTC | revision 1168 by niro, Wed Dec 15 17:44:36 2010 UTC | |
---|---|---|
# | Line 15 source ${rc_functions} | Line 15 source ${rc_functions} |
15 | ||
16 | case "$1" in | case "$1" in |
17 | start) | start) |
18 | echo -e ${COLOREDSTAR}"Activating all swap files/partitions ..." | rc_print "Activating all swap files/partitions ..." |
19 | swapon -a | swapon -a |
20 | evaluate_retval | evaluate_retval |
21 | ||
# | Line 24 case "$1" in | Line 24 case "$1" in |
24 | ;; | ;; |
25 | ||
26 | stop) | stop) |
27 | echo -e ${COLOREDSTAR}"Deactivating all swap files/partitions ..." | rc_print "Deactivating all swap files/partitions ..." |
28 | swapoff -a | swapoff -a |
29 | evaluate_retval | evaluate_retval |
30 |
|