summaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
Diffstat (limited to 'services')
-rw-r--r--services/Makemodule.am27
-rw-r--r--services/agetty6
-rw-r--r--services/consolefont6
-rw-r--r--services/devfs.in6
-rw-r--r--services/dhcpcd7
-rw-r--r--services/dhcpcdmaster10
-rw-r--r--services/dnsmasq6
-rw-r--r--services/gcrond5
-rw-r--r--services/hostapd.in7
-rw-r--r--services/hostname6
-rw-r--r--services/hwclock6
-rw-r--r--services/ifcfg.in7
-rw-r--r--services/ifdown.in7
-rw-r--r--services/ifrename.in7
-rw-r--r--services/klogd6
-rw-r--r--services/loopback10
-rw-r--r--services/modules.in7
-rw-r--r--services/network4
-rw-r--r--services/nft.in7
-rw-r--r--services/nginx6
-rw-r--r--services/procfs.in9
-rw-r--r--services/sigkill.in6
-rw-r--r--services/sigterm.in9
-rw-r--r--services/sshd.in5
-rw-r--r--services/sshd_keygen.in14
-rw-r--r--services/swclock.in6
-rw-r--r--services/swclocksave.gcron.in3
-rw-r--r--services/swclocksave.in7
-rw-r--r--services/sync6
-rwxr-xr-xservices/sysctl7
-rw-r--r--services/sysfs.in13
-rw-r--r--services/sysinit5
-rw-r--r--services/tmpfs5
-rw-r--r--services/unbound6
-rw-r--r--services/usyslogd6
-rw-r--r--services/vfs4
36 files changed, 0 insertions, 264 deletions
diff --git a/services/Makemodule.am b/services/Makemodule.am
deleted file mode 100644
index 7aae6c2..0000000
--- a/services/Makemodule.am
+++ /dev/null
@@ -1,27 +0,0 @@
-initdir = @TEMPLATEDIR@
-init_DATA = services/agetty services/hostname services/loopback
-init_DATA += services/sysctl services/hwclock services/sysinit
-init_DATA += services/sigterm services/sync services/devfs
-init_DATA += services/sysfs services/procfs services/tmpfs
-init_DATA += services/vfs services/ifrename services/ifcfg
-init_DATA += services/dhcpcd services/dhcpcdmaster services/unbound
-init_DATA += services/dnsmasq services/ifdown services/modules
-init_DATA += services/network services/hostapd services/swclock
-init_DATA += services/swclocksave services/nft services/sigkill
-init_DATA += services/sshd services/sshd_keygen services/consolefont
-init_DATA += services/nginx services/usyslogd services/klogd
-
-if GCROND
-init_DATA += services/swclocksave.gcron
-endif
-
-if GCROND
-init_DATA += services/gcrond
-endif
-
-EXTRA_DIST += services/sysinit services/vfs services/agetty services/hostname
-EXTRA_DIST += services/hwclock services/loopback services/klogd
-EXTRA_DIST += services/sync services/sysctl services/tmpfs
-EXTRA_DIST += services/dhcpcd services/dhcpcdmaster services/unbound
-EXTRA_DIST += services/usyslogd services/dnsmasq services/network
-EXTRA_DIST += services/consolefont services/gcrond services/nginx
diff --git a/services/agetty b/services/agetty
deleted file mode 100644
index 6c8945b..0000000
--- a/services/agetty
+++ /dev/null
@@ -1,6 +0,0 @@
-description agetty on %0
-exec agetty %0 linux
-type respawn
-target boot
-after network
-tty "/dev/%0"
diff --git a/services/consolefont b/services/consolefont
deleted file mode 100644
index 1584db9..0000000
--- a/services/consolefont
+++ /dev/null
@@ -1,6 +0,0 @@
-description set console font
-type once
-target boot
-before sysinit
-after vfs
-exec setfont %0
diff --git a/services/devfs.in b/services/devfs.in
deleted file mode 100644
index 271eae7..0000000
--- a/services/devfs.in
+++ /dev/null
@@ -1,6 +0,0 @@
-description "mount /dev"
-type wait
-target boot
-after procfs sysfs
-before vfs
-exec "@SCRIPTDIR@/devfs.sh"
diff --git a/services/dhcpcd b/services/dhcpcd
deleted file mode 100644
index 184a843..0000000
--- a/services/dhcpcd
+++ /dev/null
@@ -1,7 +0,0 @@
-description "DHCP client on %0"
-type once
-target boot
-after dhcpcdmaster network
-
-tty /dev/null
-exec dhcpcd -n %0
diff --git a/services/dhcpcdmaster b/services/dhcpcdmaster
deleted file mode 100644
index 879497a..0000000
--- a/services/dhcpcdmaster
+++ /dev/null
@@ -1,10 +0,0 @@
-description "DHCP client - master service"
-type wait
-target boot
-after network
-tty /dev/null
-
-exec {
- mkdir -p /var/db/dhcpcd
- dhcpcd --inactive
-}
diff --git a/services/dnsmasq b/services/dnsmasq
deleted file mode 100644
index 4045824..0000000
--- a/services/dnsmasq
+++ /dev/null
@@ -1,6 +0,0 @@
-description "dnsmasq DNS & DHCP server"
-type respawn limit 5
-target boot
-after network unbound
-
-exec dnsmasq -k
diff --git a/services/gcrond b/services/gcrond
deleted file mode 100644
index 0ee1ee5..0000000
--- a/services/gcrond
+++ /dev/null
@@ -1,5 +0,0 @@
-description start gcron daemon
-exec gcrond
-type respawn
-target boot
-after network
diff --git a/services/hostapd.in b/services/hostapd.in
deleted file mode 100644
index 172aa6f..0000000
--- a/services/hostapd.in
+++ /dev/null
@@ -1,7 +0,0 @@
-description "WIFI access point daemon"
-type respawn limit 10
-target boot
-after sysinit ifrename
-before network ifcfg
-
-exec hostapd "@ETCPATH@/hostapd.conf"
diff --git a/services/hostname b/services/hostname
deleted file mode 100644
index d0daa23..0000000
--- a/services/hostname
+++ /dev/null
@@ -1,6 +0,0 @@
-description reload hostname
-exec hostname --file /etc/hostname
-type wait
-target boot
-before sysinit
-after hwclock vfs
diff --git a/services/hwclock b/services/hwclock
deleted file mode 100644
index 7eac1da..0000000
--- a/services/hwclock
+++ /dev/null
@@ -1,6 +0,0 @@
-description restore time from RTC
-exec hwclock --hctosys --utc
-type wait
-target boot
-before sysinit
-after vfs modules
diff --git a/services/ifcfg.in b/services/ifcfg.in
deleted file mode 100644
index c2b4127..0000000
--- a/services/ifcfg.in
+++ /dev/null
@@ -1,7 +0,0 @@
-description "static network configuration"
-type wait
-target boot
-after sysinit ifrename
-before network
-
-exec "@SCRIPTDIR@/ifcfg.sh" \ No newline at end of file
diff --git a/services/ifdown.in b/services/ifdown.in
deleted file mode 100644
index 1310098..0000000
--- a/services/ifdown.in
+++ /dev/null
@@ -1,7 +0,0 @@
-description "stop all network interfaces"
-type wait
-target %0
-after sigkill sigterm
-before sync
-
-exec "@SCRIPTDIR@/ifdown.sh" \ No newline at end of file
diff --git a/services/ifrename.in b/services/ifrename.in
deleted file mode 100644
index efb00de..0000000
--- a/services/ifrename.in
+++ /dev/null
@@ -1,7 +0,0 @@
-description "rename network interfaces"
-type wait
-target boot
-after sysinit
-before network
-
-exec "@SCRIPTDIR@/ifrename.sh" \ No newline at end of file
diff --git a/services/klogd b/services/klogd
deleted file mode 100644
index aaca59a..0000000
--- a/services/klogd
+++ /dev/null
@@ -1,6 +0,0 @@
-description "starting uklogd"
-exec klogd
-type respawn limit 5
-target boot
-after usyslogd
-before sysinit
diff --git a/services/loopback b/services/loopback
deleted file mode 100644
index 53118b5..0000000
--- a/services/loopback
+++ /dev/null
@@ -1,10 +0,0 @@
-description configure network loopback device
-type wait
-target boot
-before sysinit
-after hostname vfs
-
-exec {
- ip addr add 127.0.0.1/8 dev lo brd +
- ip link set lo up
-}
diff --git a/services/modules.in b/services/modules.in
deleted file mode 100644
index e8c1863..0000000
--- a/services/modules.in
+++ /dev/null
@@ -1,7 +0,0 @@
-description "load kernel modules"
-type wait
-target boot
-after vfs usyslogd
-before sysinit
-
-exec "@SCRIPTDIR@/modules_load.sh" \ No newline at end of file
diff --git a/services/network b/services/network
deleted file mode 100644
index 5ba505c..0000000
--- a/services/network
+++ /dev/null
@@ -1,4 +0,0 @@
-description "static network configuration completed"
-type wait
-target boot
-after sysinit \ No newline at end of file
diff --git a/services/nft.in b/services/nft.in
deleted file mode 100644
index 21caab0..0000000
--- a/services/nft.in
+++ /dev/null
@@ -1,7 +0,0 @@
-description "restore netfilter rule set"
-type wait
-target boot
-after sysinit ifrename
-before network ifcfg
-
-exec nft -f "@ETCPATH@/nftables.rules"
diff --git a/services/nginx b/services/nginx
deleted file mode 100644
index 6a36af9..0000000
--- a/services/nginx
+++ /dev/null
@@ -1,6 +0,0 @@
-description "start nginx web server"
-type once
-target boot
-after network
-tty /dev/null
-exec nginx
diff --git a/services/procfs.in b/services/procfs.in
deleted file mode 100644
index 8c0743b..0000000
--- a/services/procfs.in
+++ /dev/null
@@ -1,9 +0,0 @@
-description "mount /proc"
-type wait
-target boot
-before vfs
-
-exec {
- mount -t proc proc /proc
- "@SCRIPTDIR@/trymount.sh" /proc/sys/fs/binfmt_misc binfmt_misc nodev,noexec,nosuid
-}
diff --git a/services/sigkill.in b/services/sigkill.in
deleted file mode 100644
index cddd49d..0000000
--- a/services/sigkill.in
+++ /dev/null
@@ -1,6 +0,0 @@
-description send SIGKILL to remaining processes
-exec "@SCRIPTDIR@/killall5" 9
-type wait
-target %0
-after sigterm
-before sync shutdown reboot
diff --git a/services/sigterm.in b/services/sigterm.in
deleted file mode 100644
index 7e77fba..0000000
--- a/services/sigterm.in
+++ /dev/null
@@ -1,9 +0,0 @@
-description send SIGTERM to all processes
-type wait
-target %0
-before sigkill sync reboot shutdown
-
-exec {
- "@SCRIPTDIR@/killall5" 15
- sleep 5
-}
diff --git a/services/sshd.in b/services/sshd.in
deleted file mode 100644
index a6292bc..0000000
--- a/services/sshd.in
+++ /dev/null
@@ -1,5 +0,0 @@
-description "OpenSSH server"
-type respawn limit 5
-target boot
-after network sshd_keygen
-exec "@SBINPATH@/sshd" -D
diff --git a/services/sshd_keygen.in b/services/sshd_keygen.in
deleted file mode 100644
index 6425e63..0000000
--- a/services/sshd_keygen.in
+++ /dev/null
@@ -1,14 +0,0 @@
-description "OpenSSH server - generate host keys"
-type wait
-target boot
-after network
-tty /dev/null
-exec {
- mkdir -p "@ETCPATH@/ssh/"
-
- ssh-keygen -f "@ETCPATH@/ssh/host_rsa_key" -N "" -t rsa
- ssh-keygen -f "@ETCPATH@/ssh/host_ecdsa_key" -N "" -t ecdsa
- ssh-keygen -f "@ETCPATH@/ssh/host_ed25519_key" -N "" -t ed25519
-
- service disable sshd_keygen
-}
diff --git a/services/swclock.in b/services/swclock.in
deleted file mode 100644
index 02c4c27..0000000
--- a/services/swclock.in
+++ /dev/null
@@ -1,6 +0,0 @@
-description restore saved time from last shutdown
-type wait
-target boot
-before sysinit
-after vfs modules
-exec xargs -a @STATEFILESPATH@/swclock date --utc
diff --git a/services/swclocksave.gcron.in b/services/swclocksave.gcron.in
deleted file mode 100644
index 24e162b..0000000
--- a/services/swclocksave.gcron.in
+++ /dev/null
@@ -1,3 +0,0 @@
-interval hourly
-tty truncate @STATEFILESPATH@/swclock
-exec date --utc +%%m%%d%%H%%M%%Y.%%S
diff --git a/services/swclocksave.in b/services/swclocksave.in
deleted file mode 100644
index 683ded7..0000000
--- a/services/swclocksave.in
+++ /dev/null
@@ -1,7 +0,0 @@
-description write current time to backup file
-type wait
-target %0
-after sigkill
-before sync
-tty truncate @STATEFILESPATH@/swclock
-exec date --utc +%%m%%d%%H%%M%%Y.%%S
diff --git a/services/sync b/services/sync
deleted file mode 100644
index d7217f9..0000000
--- a/services/sync
+++ /dev/null
@@ -1,6 +0,0 @@
-description sync
-exec sync
-type wait
-target %0
-after sigkill sigterm
-before reboot shutdown
diff --git a/services/sysctl b/services/sysctl
deleted file mode 100755
index 6664297..0000000
--- a/services/sysctl
+++ /dev/null
@@ -1,7 +0,0 @@
-description configure kernel paramters
-tty /dev/null
-exec sysctl --system
-type wait
-target boot
-before sysinit
-after vfs loopback
diff --git a/services/sysfs.in b/services/sysfs.in
deleted file mode 100644
index 8eebd0a..0000000
--- a/services/sysfs.in
+++ /dev/null
@@ -1,13 +0,0 @@
-description "mount /sys"
-type wait
-target boot
-after procfs
-before vfs
-
-exec {
- mount -t sysfs sysfs /sys
- "@SCRIPTDIR@/trymount.sh" /sys/kernel/security securityfs nodev,noexec,nosuid
- "@SCRIPTDIR@/trymount.sh" /sys/kernel/config configfs nodev,noexec,nosuid
- "@SCRIPTDIR@/trymount.sh" /sys/fs/fuse/connections fusectl nodev,noexec,nosuid
- "@SCRIPTDIR@/trymount.sh" /sys/firmware/efi/efivars efivarfs ro
-}
diff --git a/services/sysinit b/services/sysinit
deleted file mode 100644
index 801ac97..0000000
--- a/services/sysinit
+++ /dev/null
@@ -1,5 +0,0 @@
-description basic system initialization
-type wait
-target boot
-after vfs
-before network \ No newline at end of file
diff --git a/services/tmpfs b/services/tmpfs
deleted file mode 100644
index 411a42b..0000000
--- a/services/tmpfs
+++ /dev/null
@@ -1,5 +0,0 @@
-description "mount /tmp"
-type wait
-target boot
-before vfs
-exec mount -t tmpfs none /tmp
diff --git a/services/unbound b/services/unbound
deleted file mode 100644
index e9980ab..0000000
--- a/services/unbound
+++ /dev/null
@@ -1,6 +0,0 @@
-description "Unbound resolver"
-type respawn limit 5
-target boot
-after network
-
-exec unbound -d
diff --git a/services/usyslogd b/services/usyslogd
deleted file mode 100644
index 6b378d9..0000000
--- a/services/usyslogd
+++ /dev/null
@@ -1,6 +0,0 @@
-description "starting usyslogd"
-exec usyslogd --chroot --rotate-replace --max-size 8192
-type respawn limit 5
-target boot
-after vfs
-before sysinit \ No newline at end of file
diff --git a/services/vfs b/services/vfs
deleted file mode 100644
index b699976..0000000
--- a/services/vfs
+++ /dev/null
@@ -1,4 +0,0 @@
-description VFS setup done
-type wait
-target boot
-before sysinit \ No newline at end of file