NetBSD/etc/rc.d/root

24 lines
301 B
Plaintext
Raw Normal View History

2000-03-10 14:53:23 +03:00
#!/bin/sh
#
# $NetBSD: root,v 1.4 2009/04/21 16:08:57 joerg Exp $
2000-03-10 14:53:23 +03:00
#
# PROVIDE: root
# REQUIRE: fsck_root
2000-03-10 14:53:23 +03:00
$_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"