NetBSD/etc/rc.d/mountall
veego ebe6c4d40d Use the stop_cmd to unmount the filesystems with 'umount -a'.
This helps to fix the unclean reboots (at least on my system).
2000-04-27 21:00:50 +00:00

17 lines
304 B
Bash
Executable File

#!/bin/sh
#
# $NetBSD: mountall,v 1.2 2000/04/27 21:00:50 veego Exp $
#
# PROVIDE: mountall
# REQUIRE: beforemountlkm
. /etc/rc.subr
. /etc/rc.conf
name="mountall"
start_cmd="echo 'Mounting all filesystems...'; mount -a"
stop_cmd="echo 'Unmounting all filesystems...'; umount -a"
run_rc_command "$1"