From d20d4cb39b69c87379952afbf3a60381d238a9f4 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Thu, 08 Aug 2013 09:00:51 -0400 Subject: Remove old source files. --- (limited to 'src') 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 < - - - - - - Operating System Uptime - - -

Operating System Uptime

-
$(uptime)
- - -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 @@ - - - - - - Embedded Operating System Distribution - - -

It works!

-

This is the default Web page for this server.

-

The HTTP daemon of the embedded operating system distribution is running.

- - -- cgit v0.9.1