1*325ce30bSDavid van Moolenbroek#!/bin/sh 2*325ce30bSDavid van Moolenbroek# MINIX 3 bridge from NetBSD rc to MINIX rc. Must be called as the very first 3*325ce30bSDavid van Moolenbroek# script at startup (hence the current 'before'). Ideally the MINIX rc would 4*325ce30bSDavid van Moolenbroek# be decomposed into a number of small rc scripts, though. 5*325ce30bSDavid van Moolenbroek 6*325ce30bSDavid van Moolenbroek# PROVIDE: minixrc 7*325ce30bSDavid van Moolenbroek# BEFORE: DISKS 8*325ce30bSDavid van Moolenbroek# KEYWORD: shutdown 9*325ce30bSDavid van Moolenbroek 10*325ce30bSDavid van Moolenbroek$_rc_subr_loaded . /etc/rc.subr 11*325ce30bSDavid van Moolenbroek 12*325ce30bSDavid van Moolenbroekname="minixrc" 13*325ce30bSDavid van Moolenbroekstart_cmd="sh /etc/rc.minix start" 14*325ce30bSDavid van Moolenbroekstop_cmd="sh /etc/rc.minix stop" 15*325ce30bSDavid van Moolenbroek 16*325ce30bSDavid van Moolenbroekload_rc_config $name 17*325ce30bSDavid van Moolenbroekrun_rc_command "$1" 18