grs/scripts/initrc.sh
2015-06-30 16:31:25 -04:00

20 lines
490 B
Bash

#!/bin/bash -e
trap "kill -9 $$" SIGTERM
trap "kill -9 $$" SIGHUP
trap "kill -9 $$" SIGKILL
trap "kill -9 $$" SIGINT
ln -sf /etc/init.d/net.lo /etc/init.d/net.eth0
rc-update add alsasound default
rc-update add cupsd default
rc-update add fcron default
rc-update add net.eth0 default
rc-update add postfix default
rc-update add sshd default
rc-update add xdm default
rc-update add avahi-daemon default
rc-update add dbus default
rc-update add samba default
rc-update add syslog-ng default