mir3c/squashfs-root/etc/init.d/umount

11 lines
179 B
Bash
Executable File

#!/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
}