Add a script to automatically mount datasets.

This commit is contained in:
Tom Alexander
2022-11-01 22:42:46 -04:00
parent d7a8dd4d67
commit 683c264650
4 changed files with 176 additions and 2 deletions

View File

@@ -0,0 +1,20 @@
#!/bin/sh
#
# REQUIRE: FILESYSTEM kld
# PROVIDE: bemount
. /etc/rc.subr
name=bemount
rcvar=${name}_enable
start_cmd="${name}_start"
stop_cmd="${name}_stop"
load_rc_config $name
bemount_start() {
/usr/local/bin/bemount
}
bemount_stop() {
}
run_rc_command "$1"