summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/etc/fstab4
-rw-r--r--src/etc/group1
-rw-r--r--src/etc/hostname1
-rwxr-xr-xsrc/etc/init.d/hostname13
-rwxr-xr-xsrc/etc/init.d/httpd22
-rwxr-xr-xsrc/etc/init.d/mdev19
-rwxr-xr-xsrc/etc/init.d/mountall12
-rwxr-xr-xsrc/etc/init.d/networking25
-rwxr-xr-xsrc/etc/init.d/rc27
-rwxr-xr-xsrc/etc/init.d/sysfs20
-rwxr-xr-xsrc/etc/init.d/syslog31
-rwxr-xr-xsrc/etc/init.d/telnetd22
-rw-r--r--src/etc/inittab15
-rw-r--r--src/etc/network/interfaces13
-rw-r--r--src/etc/passwd1
-rwxr-xr-xsrc/var/www/cgi-bin/uptime.cgi19
-rw-r--r--src/var/www/index.html13
17 files changed, 0 insertions, 258 deletions
diff --git a/src/etc/fstab b/src/etc/fstab
deleted file mode 100644
index bb150ff..0000000
--- a/src/etc/fstab
+++ /dev/null
@@ -1,4 +0,0 @@
-rootfs / auto defaults 1 1
-proc /proc proc defaults 0 0
-devpts /dev/pts devpts mode=0620,gid=5 0 0
-usbfs /proc/bus/usb usbfs defaults 0 0
diff --git a/src/etc/group b/src/etc/group
deleted file mode 100644
index 1dbf901..0000000
--- a/src/etc/group
+++ /dev/null
@@ -1 +0,0 @@
-root:x:0:
diff --git a/src/etc/hostname b/src/etc/hostname
deleted file mode 100644
index ea4c381..0000000
--- a/src/etc/hostname
+++ /dev/null
@@ -1 +0,0 @@
-rcstereo
diff --git a/src/etc/init.d/hostname b/src/etc/init.d/hostname
deleted file mode 100755
index aec1102..0000000
--- a/src/etc/init.d/hostname
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-
-case "${1}" in
- start)
- printf 'Setting hostname... '
- [ -f /etc/hostname ] && hostname -F /etc/hostname || hostname none
- printf 'done.\n'
- ;;
- *)
- printf 'Usage: %s start\n' "${0}" >&2
- exit 1
- ;;
-esac
diff --git a/src/etc/init.d/httpd b/src/etc/init.d/httpd
deleted file mode 100755
index 6a3045d..0000000
--- a/src/etc/init.d/httpd
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/sh
-
-case "${1}" in
- start)
- printf 'Starting httpd...'
- start-stop-daemon -S -q -n httpd -x httpd -- -h /var/www
- printf 'done.'
- ;;
- stop)
- printf 'Stopping httpd... '
- start-stop-daemon -K -q -n httpd
- printf 'done.'
- ;;
- restart)
- "${0}" stop
- "${0}" start
- ;;
- *)
- printf 'Usage: %s {start|stop|restart}\n' "${0}"
- exit 1
- ;;
-esac
diff --git a/src/etc/init.d/mdev b/src/etc/init.d/mdev
deleted file mode 100755
index 66070f8..0000000
--- a/src/etc/init.d/mdev
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh
-
-case "${1}" in
- start)
- printf 'Enabling device hotplugging... '
- echo '/sbin/mdev' > /proc/sys/kernel/hotplug
- mdev -s
- printf 'done.\n'
- ;;
- stop)
- printf 'Disabling device hotplugging... '
- echo '' > /proc/sys/kernel/hotplug
- printf 'done.\n'
- ;;
- *)
- printf 'Usage: %s {start|stop}\n' "${0}" >&2
- exit 1
- ;;
-esac
diff --git a/src/etc/init.d/mountall b/src/etc/init.d/mountall
deleted file mode 100755
index c40d48c..0000000
--- a/src/etc/init.d/mountall
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-
-case "${1}" in
- start)
- [ ! -d /dev/pts ] && mkdir /dev/pts
- mount -a
- ;;
- *)
- printf 'Usage: %s start\n' "${0}"
- exit 1
- ;;
-esac
diff --git a/src/etc/init.d/networking b/src/etc/init.d/networking
deleted file mode 100755
index 12fb513..0000000
--- a/src/etc/init.d/networking
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/sh
-
-case "${1}" in
- start)
- printf 'Configuring network interfaces... '
- ifdown -a > /dev/null 2>&1
- ifup -a
- printf 'done.\n'
- ;;
- stop)
- printf 'Deconfiguring network interfaces... '
- ifdown -a
- printf 'done.\n'
- ;;
- restart)
- printf 'Reconfiguring network interfaces... '
- ifdown -a
- ifup -a
- printf 'done.\n'
- ;;
- *)
- printf 'Usage: %s {start|stop|restart}\n' "${0}" >&2
- exit 1
- ;;
-esac
diff --git a/src/etc/init.d/rc b/src/etc/init.d/rc
deleted file mode 100755
index 0db7c8d..0000000
--- a/src/etc/init.d/rc
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh
-#
-# /etc/init.d/rc
-# Executes init scripts on init and shutdown.
-#
-# Copyright (C) 2012 Patrick "P. J." McDermott
-# This file may be reproduced, distributed, modified, and otherwise dealt in
-# under the terms of the Expat/MIT License.
-
-[ -x /usr/bin/logger ] && logger='logger -s -p 6 -t sysinit' || logger=cat
-
-level=${0#*/rc}
-case ${level} in
- S)
- action=start
- ;;
- K)
- action=stop
- ;;
- *)
- exit 1
- ;;
-esac
-
-for i in /etc/rc.d/${level}*; do
- [ -x "${i}" ] && "${i}" ${action} 2>&1
-done | ${logger}
diff --git a/src/etc/init.d/sysfs b/src/etc/init.d/sysfs
deleted file mode 100755
index e5e9508..0000000
--- a/src/etc/init.d/sysfs
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-
-case "${1}" in
- start)
- printf 'Mounting process and system filesystems... '
- [ ! -e /proc/mounts ] && mount -t proc proc /proc
- [ ! -e /sys/kernel ] && mount -t sysfs sysfs /sys
- printf 'done.\n'
- ;;
- stop)
- printf 'Unmounting process and system filesystems... '
- [ -e /proc/mounts ] && umount /proc
- [ -e /sys/kernel ] && umount /sys
- printf 'done.\n'
- ;;
- *)
- printf 'Usage: %s {start|stop}\n' "${0}" >&2
- exit 1
- ;;
-esac
diff --git a/src/etc/init.d/syslog b/src/etc/init.d/syslog
deleted file mode 100755
index 082f9bf..0000000
--- a/src/etc/init.d/syslog
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/sh
-
-SYSLOG_ROTATE_SIZE=65536
-
-case "${1}" in
- start)
- printf 'Starting syslog... '
- start-stop-daemon -S -q -n syslogd -x syslogd -- \
- -s "${SYSLOG_ROTATE_SIZE}"
- printf 'done.'
- printf 'Starting klogd... '
- start-stop-daemon -S -q -n klogd -x klogd
- printf 'done.'
- ;;
- stop)
- printf 'Stopping klogd... '
- start-stop-daemon -K -q -n klogd
- printf 'done.'
- printf 'Stopping syslog... '
- start-stop-daemon -K -q -n syslogd
- printf 'done.'
- ;;
- restart)
- "${0}" stop
- "${0}" start
- ;;
- *)
- printf 'Usage: %s {start|stop|restart}\n' "${0}"
- exit 1
- ;;
-esac
diff --git a/src/etc/init.d/telnetd b/src/etc/init.d/telnetd
deleted file mode 100755
index be9043b..0000000
--- a/src/etc/init.d/telnetd
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/sh
-
-case "${1}" in
- start)
- printf 'Starting telnetd...'
- start-stop-daemon -S -q -n telnetd -x telnetd
- printf 'done.'
- ;;
- stop)
- printf 'Stopping telnetd... '
- start-stop-daemon -K -q -n telnetd
- printf 'done.'
- ;;
- restart)
- "${0}" stop
- "${0}" start
- ;;
- *)
- printf 'Usage: %s {start|stop|restart}\n' "${0}"
- exit 1
- ;;
-esac
diff --git a/src/etc/inittab b/src/etc/inittab
deleted file mode 100644
index e2c00a5..0000000
--- a/src/etc/inittab
+++ /dev/null
@@ -1,15 +0,0 @@
-# /etc/inittab
-
-::sysinit:/etc/init.d/rcS
-::shutdown:/etc/init.d/rcK
-
-tty1::askfirst:/sbin/getty 38400 tty1
-tty2::askfirst:/sbin/getty 38400 tty2
-tty3::askfirst:/sbin/getty 38400 tty3
-tty4::askfirst:/sbin/getty 38400 tty4
-tty5::askfirst:/sbin/getty 38400 tty5
-tty6::askfirst:/sbin/getty 38400 tty6
-
-::respawn:/sbin/getty -L ttyS0 115200 vt100
-
-::ctrlaltdel:/etc/init.d/rcK
diff --git a/src/etc/network/interfaces b/src/etc/network/interfaces
deleted file mode 100644
index aa1ce93..0000000
--- a/src/etc/network/interfaces
+++ /dev/null
@@ -1,13 +0,0 @@
-# /etc/network/interfaces
-# Network interfaces configuration used by ifup(8) and ifdown(8).
-
-# Loopback interface.
-auto lo
-iface lo inet loopback
-
-# Ethernet interface.
-auto eth0
-iface eth0 inet static
- address 192.168.11.191
- netmask 255.255.255.0
- gateway 192.168.11.1
diff --git a/src/etc/passwd b/src/etc/passwd
deleted file mode 100644
index d187878..0000000
--- a/src/etc/passwd
+++ /dev/null
@@ -1 +0,0 @@
-root:IScbRv5WSzOC.:0:0::/root:/bin/sh
diff --git a/src/var/www/cgi-bin/uptime.cgi b/src/var/www/cgi-bin/uptime.cgi
deleted file mode 100755
index e7d4ba2..0000000
--- a/src/var/www/cgi-bin/uptime.cgi
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh
-
-cat <<EOF
-Content-Type: text/html; charset=utf-8
-
-<!DOCTYPE html>
-
-<html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta http-equiv="refresh" content="2">
- <title>Operating System Uptime</title>
- </head>
- <body>
- <h1>Operating System Uptime</h1>
- <pre>$(uptime)</pre>
- </body>
-</html>
-EOF
diff --git a/src/var/www/index.html b/src/var/www/index.html
deleted file mode 100644
index e166dba..0000000
--- a/src/var/www/index.html
+++ /dev/null
@@ -1,13 +0,0 @@
-<!DOCTYPE html>
-
-<html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <title>Embedded Operating System Distribution</title>
- </head>
- <body>
- <h1>It works!</h1>
- <p>This is the default Web page for this server.</p>
- <p>The HTTP daemon of the embedded operating system distribution is running.</p>
- </body>
-</html>