christos
566d2c2d32
missing quote
2020-08-28 15:26:23 +00:00
christos
608106539e
Restrict npf.conf fixes to "blacklistd" -> "blocklistd"
2020-08-28 15:25:16 +00:00
simonb
3616bcfaa5
Sort missing IDs (users and groups) by the numeric ID.
2020-07-07 12:01:21 +00:00
riastradh
65367154cd
Nix trailing whitespace.
2020-06-29 23:04:56 +00:00
rin
d1e359b744
Fix do_blocklist:
...
- Respect destination directory specified by -d option.
- Accept check and fix options. For the former, do not modify anything as
users normally expect.
2020-06-22 06:55:41 +00:00
riastradh
dd58a4a54e
Nix trailing whitespace.
2020-06-20 18:30:53 +00:00
christos
e9d9ed6853
handle /etc/blacklistd.conf
2020-06-15 21:56:49 +00:00
christos
8751c455bb
correct blocklist script
...
- removal of rc file is handled by obsolete
- use grep to find if we need more changes
- fix rc population
2020-06-15 21:51:13 +00:00
christos
8f201cf281
fix reversed mv, pointed out by wiz@
2020-06-15 14:32:07 +00:00
christos
5b4fdaddb2
deal with blacklist -> blocklist
2020-06-15 14:25:40 +00:00
roy
caa3531473
Ensure the dhcpcd log socket is removed.
2020-06-03 11:47:46 +00:00
roy
2fc8fc72fa
postinstall: Move files out of dhcpcd chroot
2020-05-31 13:45:47 +00:00
christos
ce6ae1732f
Add a function to remove the debug bits of the stand files.
2020-05-15 16:33:38 +00:00
roy
3d41695df4
postinstall: ensure contents_owner fix fails on find errors
...
The issue is that find won't pass anything to xargs and that returns 0.
So replace the usage of xargs with -exec.
2020-04-19 22:10:24 +00:00
roy
f1ba7e789f
Fix dhcpcd $DEST_DIR support
2020-04-09 15:24:31 +00:00
roy
2fc87b1b6a
postinstall: fix contents_owner to return an error on error
...
find returning nothing via stdout but does return an error is an error.
Fixes the case where dhcpcd chroot db directory isn't owned by _dhcpcd.
2020-04-06 13:10:48 +00:00
roy
134f8ca66a
postinstall: add checks for _dhcpcd to do_uid and do_gid
...
Thanks to jmcneill@
2020-04-02 13:44:46 +00:00
roy
22fcb0ce30
postinstall: move dhcpcd files to the chroot
2020-04-02 13:04:09 +00:00
nakayama
eb7c30f064
Fix the fixup script to follow the URL change in /etc/motd (http->https).
...
PR install/54990, pullup-9
2020-02-25 10:27:01 +00:00
christos
05e238b7cc
change the autofs file to be user writable.
2020-01-30 13:54:05 +00:00
christos
a0ffe25b1f
populate autofs files
2020-01-30 01:39:40 +00:00
tsutsui
cbcfce8df3
Make sure rc, rc.subr, and rc.shutdown are properly updated.
...
Currently there is no info which rc* files should be updated
or not on upgrade (at least rc.conf and rc.local shouldn't),
so put back an explicit list in the postinstall script.
"Go for it" by christos@ in PR/54741.
Should be pulled up to netbsd-9.
2019-12-29 22:19:13 +00:00
christos
007f692c78
PR/54730: Izumi Tsutsui: obsolete etc files are not being cleaned up on
...
an upgrade build.
2019-12-22 18:41:36 +00:00
christos
cbb438eec0
PR/54730: Izumi Tsutsui: Use /var/db/obsolete/<set> to remove obsolete rc.d
...
files when not in $SOURCEMODE.
2019-12-04 04:45:42 +00:00
christos
cfe16cc4b6
remove debugging.
2019-11-12 23:54:34 +00:00
prlw1
5ab431ac15
Add nvmm group.
2019-10-30 20:24:44 +00:00
nakayama
09498a8d06
Add ${DEST_DIR} prefix to check target directory not host directory.
2019-09-24 13:27:39 +00:00
uwe
faa52db526
exclude_libs - redirect ls 2> /dev/null so that the user is not
...
spammed with errors for directories without any libraries; the most
common case in the wild would be empty /usr/libdata/debug. Add -d to
ls for good measure while here.
2019-09-12 21:56:55 +00:00
christos
9b7442143c
exclude shared libraries that are currently in use from removal.
2019-06-15 13:07:09 +00:00
christos
ba1e8750c8
cleanup obsolete file selection from sets and refactor font synchronization.
...
The font config files are not in sets, so they are still hard-coded.
2019-06-14 14:39:49 +00:00
christos
33abb5d1ba
select the powerd scripts from the sets
2019-06-14 14:17:45 +00:00
christos
8c46cfac74
make the script MI again (same across all archs)
2019-06-14 01:54:16 +00:00
christos
2f3cb43284
build dynamically the list of compat archsubdirs.
2019-06-14 01:06:33 +00:00
christos
add5ce28c0
remove obsolete library files for all the "compat" subdirs not just amd64
...
and sparc64.
2019-06-13 21:20:05 +00:00
christos
83d91c816a
Anchor the egrep search to avoid npf.conf matching pf.conf, but don't
...
anchor $ so that blacklistd machines blackist.
2019-06-13 20:53:33 +00:00
christos
18c3b41511
1. fix /etc/defaults/*.conf files
...
a. there are more rc.conf.append arch than only for x86, deal with them too.
b. populate new /etc/defaults/rc.conf files
2. merge sed patterns
3. deal with empty exclude lists
2019-06-13 19:30:30 +00:00
christos
82ef1005b5
handle $SOURCEMODE
2019-06-13 00:24:43 +00:00
christos
0d7ec091e7
Add missing npf.boot.conf
2019-06-12 21:08:33 +00:00
christos
c8a6e833b2
Remove hard-coded lists of rc files and generate them dynamically from the
...
sets. Fixes issues with automount, npf_boot etc. that were never updated here!
2019-06-12 17:45:23 +00:00
maxv
907a706c0b
Add smtoff, an rc.d script that disables Simultaneous Multi-Threading. It
...
parses the output of cpuctl, and executes "cpuctl offline" for each CPU
that has SmtID!=0.
The default is "smtoff=NO", which means that SMT remains enabled.
2019-05-11 19:31:03 +00:00
martin
9f55adb03a
Do not test contents of non-existing Xresource file (if X11 sets have
...
not been installed)
2019-04-11 14:45:58 +00:00
mrg
f05065bf5d
remove 30-urw-aliases.conf and add 45-generic.conf and 60-generic.conf.
...
should fix build issues reported on current-users.
2019-03-09 23:46:34 +00:00
martin
0a2b4fff53
XDM Xresources has been extended and the new values are important for proper
...
working of newer XDM. Check for the missing values and ask the user to
fix manually.
2019-03-08 08:19:56 +00:00
msaitoh
900e7dd5ab
Stop continuing /var/shm check when var_shm_symlink is in /etc/rc.conf.
...
OK'd by martin.
2019-01-31 10:06:32 +00:00
plunky
6de10e4ba8
rc.d/isdnd is obsolete
2018-12-04 16:53:44 +00:00
martin
444da8f01d
Sprinkle a few references to .tar.xz files (as alternative to .tgz files)
2018-11-21 20:13:09 +00:00
plunky
7c0fdce822
add rc.d/dhcpd6
2018-11-06 06:16:00 +00:00
martin
290d09c518
Add support for MAKEDEV living in /etc instead of /dev, this is one of
...
the supported options when init(8) creates a union mounted tmpfs on /dev.
2018-10-26 18:06:34 +00:00
maxv
6049b090a1
Remove the userland part of ISDN. The kernel part is untouched for now.
...
ipppctl was actually an exact copy of pppoectl; there is no functional
change in pppoectl in this commit.
2018-09-23 07:24:19 +00:00
roy
40ea673919
Remove dhclient references.
2018-07-02 15:10:43 +00:00