2009-12-11 11:28:56 +01:00
|
|
|
# Created by Tobias Powalowski <tpowa@archlinux.org>
|
|
|
|
|
2007-02-22 23:46:50 +01:00
|
|
|
run_hook ()
|
|
|
|
{
|
2008-12-06 19:12:19 +01:00
|
|
|
# fix nfs
|
|
|
|
touch /var/lib/nfs/xtab
|
|
|
|
touch /var/lib/nfs/state
|
|
|
|
touch /var/lib/nfs/rmtab
|
|
|
|
touch /var/lib/nfs/etab
|
2007-02-22 23:46:50 +01:00
|
|
|
# fix daemons
|
2009-06-17 22:28:20 +02:00
|
|
|
sed -i -e 's|^DAEMONS=(@syslog-ng)|DAEMONS=(@syslog-ng network rpcbind sshd xinetd)|g' /etc/rc.conf
|
2007-10-22 07:56:38 +02:00
|
|
|
# fix serial console
|
2007-11-23 08:47:13 +01:00
|
|
|
dmesg | grep ttyS0 >/dev/null && sed -i -e 's/^#c0/c0/g' /etc/inittab
|
2007-02-22 23:46:50 +01:00
|
|
|
}
|