diff options
author | lonkaars <loek@pipeframe.xyz> | 2024-02-07 16:15:21 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2024-02-07 16:15:21 +0100 |
commit | b9dfdaaa1ae0148dd8a3e78508c636636e7396a6 (patch) | |
tree | 49dcef99dbd866108d637cc675853ee49ed8f4d1 /rootfs/etc/init.d | |
parent | 612a0afa63144aae338a51c9206a589d4b8fdd65 (diff) |
web server done
Diffstat (limited to 'rootfs/etc/init.d')
-rw-r--r-- | rootfs/etc/init.d/00_mounts | 3 | ||||
-rw-r--r-- | rootfs/etc/init.d/10_hostname | 3 | ||||
-rw-r--r-- | rootfs/etc/init.d/10_network | 3 | ||||
-rwxr-xr-x | rootfs/etc/init.d/rcS | 9 |
4 files changed, 9 insertions, 9 deletions
diff --git a/rootfs/etc/init.d/00_mounts b/rootfs/etc/init.d/00_mounts new file mode 100644 index 0000000..804880c --- /dev/null +++ b/rootfs/etc/init.d/00_mounts @@ -0,0 +1,3 @@ +#!/bin/sh +# mount all drives in /etc/fstab +mount -a diff --git a/rootfs/etc/init.d/10_hostname b/rootfs/etc/init.d/10_hostname new file mode 100644 index 0000000..064cea2 --- /dev/null +++ b/rootfs/etc/init.d/10_hostname @@ -0,0 +1,3 @@ +#!/bin/sh +# update hostname +hostname -F /etc/hostname diff --git a/rootfs/etc/init.d/10_network b/rootfs/etc/init.d/10_network new file mode 100644 index 0000000..03dc3f8 --- /dev/null +++ b/rootfs/etc/init.d/10_network @@ -0,0 +1,3 @@ +#!/bin/sh +# up all network interfaces +ifup -a -f diff --git a/rootfs/etc/init.d/rcS b/rootfs/etc/init.d/rcS deleted file mode 100755 index b819ce4..0000000 --- a/rootfs/etc/init.d/rcS +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh -# core -mount -a # mount all drives in /etc/fstab -hostname -F /etc/hostname # update hostname - -# system services -syslogd # system log -ifplugd # automatically link hot-plugged ethernet connections - |