11 lines
179 B
Plaintext
11 lines
179 B
Plaintext
|
#!/bin/sh /etc/rc.common
|
||
|
# Copyright (C) 2006 OpenWrt.org
|
||
|
|
||
|
STOP=99
|
||
|
stop() {
|
||
|
stat=`cat /proc/xiaoqiang/boot_status`
|
||
|
[ "$stat" = "2" ] || swapoff -a
|
||
|
sync
|
||
|
# umount -a -d -r -l
|
||
|
}
|