summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-06-10 20:13:32 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-06-10 20:13:32 +0000
commitab4b98db80babf31f87a3a0848ae91d7a01237da (patch)
tree1c7b92c2721068742e5a79cf45207a39a9a35c82
parent33911b6a7820d6bfb1c1cd72c74c5133097d9751 (diff)
downloadalpine-baselayout-ab4b98db80babf31f87a3a0848ae91d7a01237da.tar.bz2
alpine-baselayout-ab4b98db80babf31f87a3a0848ae91d7a01237da.tar.xz
removed init.d scripts that moved to busybox-initscripts
-rw-r--r--conf.d/cron3
-rw-r--r--conf.d/rdate2
-rw-r--r--conf.d/syslog2
-rw-r--r--conf.d/watchdog3
-rw-r--r--init.d/Makefile12
-rwxr-xr-xinit.d/cron13
-rwxr-xr-xinit.d/dnsd13
-rwxr-xr-xinit.d/httpd15
-rwxr-xr-xinit.d/inetd13
-rwxr-xr-xinit.d/mdev33
-rwxr-xr-xinit.d/mdev-mount56
-rwxr-xr-xinit.d/rdate11
-rwxr-xr-xinit.d/syslog15
-rwxr-xr-xinit.d/watchdog14
14 files changed, 3 insertions, 202 deletions
diff --git a/conf.d/cron b/conf.d/cron
deleted file mode 100644
index 2f2eb7b..0000000
--- a/conf.d/cron
+++ /dev/null
@@ -1,3 +0,0 @@
-# enter the cron options
-CRON_OPTS="-c /etc/crontabs"
-
diff --git a/conf.d/rdate b/conf.d/rdate
deleted file mode 100644
index 93c6786..0000000
--- a/conf.d/rdate
+++ /dev/null
@@ -1,2 +0,0 @@
-# Set the ntp server here
-NTP_HOST=pool.net.org
diff --git a/conf.d/syslog b/conf.d/syslog
deleted file mode 100644
index 14c39c7..0000000
--- a/conf.d/syslog
+++ /dev/null
@@ -1,2 +0,0 @@
-SYSLOGD_OPTS=""
-KLOGD_OPTS=""
diff --git a/conf.d/watchdog b/conf.d/watchdog
deleted file mode 100644
index 5cfd2c2..0000000
--- a/conf.d/watchdog
+++ /dev/null
@@ -1,3 +0,0 @@
-#WATCHDOG_OPTS="-t 30"
-WATCHDOG_DEV=""
-
diff --git a/init.d/Makefile b/init.d/Makefile
index 7bc1e5c..6a95023 100644
--- a/init.d/Makefile
+++ b/init.d/Makefile
@@ -1,16 +1,10 @@
-SCRIPTS = cron \
- dnsd \
- httpd \
- hwdrivers \
- inetd \
- mdev \
+SCRIPTS = hwdrivers \
+ modloop \
rcL \
rcK \
rcS \
- syslog \
tuntap \
- vlan \
- watchdog
+ vlan
all:
diff --git a/init.d/cron b/init.d/cron
deleted file mode 100755
index 280035e..0000000
--- a/init.d/cron
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/sbin/runscript
-
-start() {
- ebegin "Starting cron"
- crond $CRON_OPTS
- eend $?
-}
-
-stop () {
- ebegin "Stopping cron"
- killall crond
- eend $?
-}
diff --git a/init.d/dnsd b/init.d/dnsd
deleted file mode 100755
index 6f24fe5..0000000
--- a/init.d/dnsd
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/sbin/runscript
-
-start() {
- ebegin "Starting dnsd"
- dnsd -d $DNSD_OPTS
- eend $?
-}
-
-stop () {
- ebegin "Stopping dnsd"
- killall dnsd
- eend $?
-}
diff --git a/init.d/httpd b/init.d/httpd
deleted file mode 100755
index dd1de9c..0000000
--- a/init.d/httpd
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/sbin/runscript
-
-DAEMON=httpd
-start() {
- ebegin "Starting $DAEMON"
- $DAEMON $HTTPD_OPTS
- eend $?
-}
-
-stop () {
- ebegin "Stopping $DAEMON"
- killall $DAEMON
- eend $?
-}
-
diff --git a/init.d/inetd b/init.d/inetd
deleted file mode 100755
index eb2439f..0000000
--- a/init.d/inetd
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/sbin/runscript
-
-start() {
- ebegin "Starting inetd"
- inetd $INETD_OPTS
- eend $?
-}
-
-stop () {
- ebegin "Stopping inetd"
- killall inetd
- eend $?
-}
diff --git a/init.d/mdev b/init.d/mdev
deleted file mode 100755
index 90cb378..0000000
--- a/init.d/mdev
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/sbin/runscript
-
-depend() {
- provide dev
- need sysfs mdev-mount
- before checkfs fsck
- keyword novserver
-}
-
-start() {
- # check if udev is specified on cmd line
- if get_bootparam "udev"; then
- ewarn "Skipping mdev as udev requested in kernel cmdline"
- return 0
- fi
-
- ebegin "Starting mdev"
- mkdir -p /dev
-
- # use mdev for hotplug
- echo "/sbin/mdev" > /proc/sys/kernel/hotplug
-
- # create devices
- mdev -s
- eend $?
-}
-
-stop() {
- ebegin "Stopping mdev"
- echo "" > /proc/sys/kernel/hotplug
- eend
-}
-
diff --git a/init.d/mdev-mount b/init.d/mdev-mount
deleted file mode 100755
index 4896445..0000000
--- a/init.d/mdev-mount
+++ /dev/null
@@ -1,56 +0,0 @@
-#!/sbin/runscript
-# Largely based on Gentoo's udev-mount
-#
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-#
-
-description="Mount tmpfs on /dev"
-
-mount_dev_directory()
-{
- # No options are processed here as they should all be in /etc/fstab
- ebegin "Mounting /dev"
- mkdir -p /dev
- if fstabinfo --quiet /dev; then
- mount -n /dev
- else
- # Some devices require exec, Bug #92921
- mount -n -t tmpfs -o "exec,nosuid,mode=0755,size=10M" mdev /dev
- fi
- eend $?
-}
-
-seed_dev()
-{
- # Seed /dev with some things that we know we need
-
- # creating /dev/console, /dev/tty and /dev/tty1 to be able to write
- # to $CONSOLE with/without bootsplash before udevd creates it
- [ -c /dev/console ] || mknod -m 600 /dev/console c 5 1
- [ -c /dev/tty1 ] || mknod -m 620 /dev/tty1 c 4 1
- [ -c /dev/tty ] || mknod -m 666 /dev/tty c 5 0
-
- # udevd will dup its stdin/stdout/stderr to /dev/null
- # and we do not want a file which gets buffered in ram
- [ -c /dev/null ] || mknod -m 666 /dev/null c 1 3
-
- # so udev can add its start-message to dmesg
- [ -c /dev/kmsg ] || mknod -m 660 /dev/kmsg c 1 11
-
- # Not provided by sysfs but needed
- ln -snf /proc/self/fd /dev/fd
- ln -snf fd/0 /dev/stdin
- ln -snf fd/1 /dev/stdout
- ln -snf fd/2 /dev/stderr
- [ -e /proc/kcore ] && ln -snf /proc/kcore /dev/core
-
- # Create problematic directories
- mkdir -p /dev/pts /dev/shm
- return 0
-}
-
-start() {
- mount_dev_directory || return 1
- seed_dev
-}
diff --git a/init.d/rdate b/init.d/rdate
deleted file mode 100755
index 169a619..0000000
--- a/init.d/rdate
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/sbin/runscript
-
-start() {
- if [ -z "$NTP_HOST" ] ; then
- eerror "Please set NTP_HOST in /etc/conf.d/rdate"
- return 1
- fi
- rdate "$NTP_HOST"
- eend $?
-}
-
diff --git a/init.d/syslog b/init.d/syslog
deleted file mode 100755
index c44e43b..0000000
--- a/init.d/syslog
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/sbin/runscript
-
-start() {
- ebegin "Starting system logging"
- klogd ${KLOGD_OPTS}
- syslogd ${SYSLOGD_OPTS}
- eend $?
-}
-
-stop () {
- ebegin "Stopping system logging"
- killall klogd 2>/dev/null
- killall syslogd
- eend $?
-}
diff --git a/init.d/watchdog b/init.d/watchdog
deleted file mode 100755
index b4b3ae7..0000000
--- a/init.d/watchdog
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/sbin/runscript
-
-start() {
- [ "$WATCHDOG_DEV" ] || die "WATCHDOG_DEV is not set"
- ebegin "Starting $SVCNAME"
- $SVCNAME $WATCHDOG_OPTS $WATCHDOG_DEV
- eend $?
-}
-
-stop () {
- ebegin "Stopping $SVCNAME"
- killall $SVCNAME
- eend $?
-}