archboot/lib/initcpio/hooks/arch_remote
2011-08-08 09:23:41 +02:00

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
}