NetBSD/etc/rc.d/root

24 lines
298 B
Plaintext
Raw Normal View History

2000-03-10 14:53:23 +03:00
#!/bin/sh
#
# $NetBSD: root,v 1.3 2004/08/13 18:08:03 mycroft Exp $
2000-03-10 14:53:23 +03:00
#
# PROVIDE: root
# REQUIRE: fsck
$_rc_subr_loaded . /etc/rc.subr
2000-03-10 14:53:23 +03:00
name="root"
start_cmd="root_start"
stop_cmd=":"
root_start()
{
umount -a >/dev/null 2>&1
mount /
rm -f /fastboot
}
load_rc_config $name
2000-03-10 14:53:23 +03:00
run_rc_command "$1"