archboot/lib/initcpio/hooks/arch_remote

13 lines
365 B
Text
Raw Normal View History

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
2008-10-20 22:39:25 +02:00
sed -i -e 's|^DAEMONS=(@syslog-ng)|DAEMONS=(@syslog-ng network portmap sshd xinetd)|g' /etc/rc.conf
2007-10-22 07:56:38 +02:00
# fix serial console
dmesg | grep ttyS0 >/dev/null && sed -i -e 's/^#c0/c0/g' /etc/inittab
2007-02-22 23:46:50 +01:00
}