summaryrefslogtreecommitdiffstats
path: root/validator/src/pxe_initrd/src/bin/enable_services.sh
diff options
context:
space:
mode:
Diffstat (limited to 'validator/src/pxe_initrd/src/bin/enable_services.sh')
-rwxr-xr-xvalidator/src/pxe_initrd/src/bin/enable_services.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/validator/src/pxe_initrd/src/bin/enable_services.sh b/validator/src/pxe_initrd/src/bin/enable_services.sh
new file mode 100755
index 0000000..f2560af
--- /dev/null
+++ b/validator/src/pxe_initrd/src/bin/enable_services.sh
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+# Source profile for $PATH just in case it wasn't auto-loaded
+source /etc/profile
+
+rc-update add mdev sysinit
+rc-update add devfs sysinit
+rc-update add dmesg sysinit
+rc-update add hostname sysinit
+rc-update add sysctl sysinit
+rc-update add syslog sysinit
+rc-update add initialnetwork sysinit
+#rc-update add networking sysinit
+#rc-update add bootmisc sysinit
+#rc-update add hwclock sysinit
+
+rc-update add mount-ro shutdown
+rc-update add killprocs shutdown
+rc-update add savecache shutdown
+
+rc-update add sshd default