mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-21 12:30:39 +02:00
14 lines
409 B
Text
14 lines
409 B
Text
# Created by Tobias Powalowski <tpowa@archlinux.org>
|
|
|
|
run_hook ()
|
|
{
|
|
# fix nfs
|
|
touch /var/lib/nfs/xtab
|
|
touch /var/lib/nfs/state
|
|
touch /var/lib/nfs/rmtab
|
|
touch /var/lib/nfs/etab
|
|
# fix daemons
|
|
sed -i -e 's|^DAEMONS=(syslog-ng)|DAEMONS=(syslog-ng rpcbind sshd xinetd)|g' /etc/rc.conf
|
|
# fix serial console
|
|
dmesg | grep ttyS0 >/dev/null && sed -i -e 's/^#c0/c0/g' /etc/inittab
|
|
}
|