Create and populate "/etc/bluetooth". Based on patch submitted by
Iain Hibbert on "current-users" mailing list.
This commit is contained in:
parent
d5875505ba
commit
903cbf25d1
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# $NetBSD: postinstall,v 1.19 2006/06/19 15:44:56 gdamore Exp $
|
# $NetBSD: postinstall,v 1.20 2006/07/15 21:32:58 tron Exp $
|
||||||
#
|
#
|
||||||
# Copyright (c) 2002-2005 The NetBSD Foundation, Inc.
|
# Copyright (c) 2002-2005 The NetBSD Foundation, Inc.
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
@ -536,6 +536,19 @@ contents_owner()
|
|||||||
# -----
|
# -----
|
||||||
#
|
#
|
||||||
|
|
||||||
|
#
|
||||||
|
# bluetooth
|
||||||
|
#
|
||||||
|
additem bluetooth "/etc/bluetooth/ is populated"
|
||||||
|
do_bluetooth()
|
||||||
|
{
|
||||||
|
[ -n "$1" ] || err 2 "USAGE: do_bluetooth fix|check"
|
||||||
|
|
||||||
|
populate_dir ${op} true ${SRC_DIR}/etc/bluetooth ${DEST_DIR}/etc/bluetooth 640 bluetooth.conf
|
||||||
|
populate_dir ${op} true ${SRC_DIR}/etc/bluetooth ${DEST_DIR}/etc/bluetooth 644 hosts protocols
|
||||||
|
return $?
|
||||||
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
# defaults
|
# defaults
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user