Skip to content

Commit

Permalink
handle blacklistd properly.
Browse files Browse the repository at this point in the history
  • Loading branch information
christos committed Aug 24, 2015
1 parent 63e224c commit 4937796
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions usr.sbin/postinstall/postinstall
@@ -1,6 +1,6 @@
#!/bin/sh
#
# $NetBSD: postinstall,v 1.200 2015/08/21 12:02:07 jnemeth Exp $
# $NetBSD: postinstall,v 1.201 2015/08/24 07:21:14 christos Exp $
#
# Copyright (c) 2002-2015 The NetBSD Foundation, Inc.
# All rights reserved.
Expand Down Expand Up @@ -1336,7 +1336,6 @@ accounting
altqd
amd
apmd
blacklistd
bluetooth
bootconf.sh
bootparams
Expand Down Expand Up @@ -1507,6 +1506,16 @@ do_rc()
${extra_scripts}
failed=$(( ${failed} + $? ))

if ! find_file_in_dirlist blacklistd "blacklistd" \
"${SRC_DIR}/external/bsd/blacklist/etc/rc.d" \
"${SRC_DIR}/etc/rc.d"; then
failed=1
else
populate_dir "$op" true "${dir}" "${DEST_DIR}/etc/rc.d" 555 \
blacklistd
failed=$(( ${failed} + $? ))
fi

if $SOURCEMODE && [ -n "${generated_scripts}" ]; then
# generate scripts
mkdir "${SCRATCHDIR}/rc"
Expand Down

0 comments on commit 4937796

Please sign in to comment.