diff options
| author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
|---|---|---|
| committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
| commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
| tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /packages/initscripts | |
| parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) | |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'packages/initscripts')
95 files changed, 0 insertions, 6163 deletions
diff --git a/packages/initscripts/files/arm/alignment.sh b/packages/initscripts/files/arm/alignment.sh deleted file mode 100644 index 32a9eaace2..0000000000 --- a/packages/initscripts/files/arm/alignment.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -if [ -e /proc/cpu/alignment ] && ! [ $(uname -m) = "armv7l" ]; then - echo "3" > /proc/cpu/alignment -fi - diff --git a/packages/initscripts/files/devpts b/packages/initscripts/files/devpts deleted file mode 100644 index e10e371662..0000000000 --- a/packages/initscripts/files/devpts +++ /dev/null @@ -1,5 +0,0 @@ -# GID of the `tty' group -TTYGRP=5 - -# Set to 600 to have `mesg n' be the default -TTYMODE=620 diff --git a/packages/initscripts/files/finish.sh b/packages/initscripts/files/finish.sh deleted file mode 100644 index 4f9f75f47c..0000000000 --- a/packages/initscripts/files/finish.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -if ! test -e /etc/.configured; then - > /etc/.configured -fi - diff --git a/packages/initscripts/files/functions b/packages/initscripts/files/functions deleted file mode 100644 index fb9a914e4d..0000000000 --- a/packages/initscripts/files/functions +++ /dev/null @@ -1,17 +0,0 @@ -# -*-Shell-script-*- -# -# functions This file contains functions to be used by most or all -# shell scripts in the /etc/init.d directory. -# - -machine_id() { # return the machine ID - awk 'BEGIN { FS=": " } /Hardware/ { gsub(" ", "_", $2); print tolower($2) } ' </proc/cpuinfo -} - -killproc() { # kill the named process(es) - pid=`/bin/ps -e x | - /bin/grep $1 | - /bin/grep -v grep | - /bin/sed -e 's/^ *//' -e 's/ .*//'` - [ "$pid" != "" ] && kill $pid -} diff --git a/packages/initscripts/files/halt b/packages/initscripts/files/halt deleted file mode 100644 index d8cab222ca..0000000000 --- a/packages/initscripts/files/halt +++ /dev/null @@ -1,25 +0,0 @@ -#! /bin/sh -# -# halt Execute the halt command. -# -# Version: @(#)halt 2.84-2 07-Jan-2002 miquels@cistron.nl -# - -PATH=/sbin:/bin:/usr/sbin:/usr/bin - -# See if we need to cut the power. -if test -x /etc/init.d/ups-monitor -then - /etc/init.d/ups-monitor poweroff -fi - -# Don't shut down drives if we're using RAID. -hddown="-h" -if grep -qs '^md.*active' /proc/mdstat -then - hddown="" -fi - -halt -d -f -i -p $hddown - -: exit 0 diff --git a/packages/initscripts/files/hostname.sh b/packages/initscripts/files/hostname.sh deleted file mode 100644 index 1a3fd2f17e..0000000000 --- a/packages/initscripts/files/hostname.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh -# -# hostname.sh Set hostname. -# -# Version: @(#)hostname.sh 1.10 26-Feb-2001 miquels@cistron.nl -# - -if test -f /etc/hostname -then - hostname -F /etc/hostname -fi - diff --git a/packages/initscripts/files/reboot b/packages/initscripts/files/reboot deleted file mode 100644 index 56278199be..0000000000 --- a/packages/initscripts/files/reboot +++ /dev/null @@ -1,11 +0,0 @@ -#! /bin/sh -# -# reboot Execute the reboot command. -# -# Version: @(#)reboot 2.75 22-Jun-1998 miquels@cistron.nl -# - -PATH=/sbin:/bin:/usr/sbin:/usr/bin - -echo -n "Rebooting... " -reboot -d -f -i diff --git a/packages/initscripts/files/rmnologin b/packages/initscripts/files/rmnologin deleted file mode 100644 index 444145a26a..0000000000 --- a/packages/initscripts/files/rmnologin +++ /dev/null @@ -1,14 +0,0 @@ -#! /bin/sh -# -# rmnologin This script removes the /etc/nologin file as the last -# step in the boot process. -# -# Version: @(#)rmnologin 1.00 22-Jun-1998 miquels@cistron.nl -# - -if test -f /etc/nologin.boot -then - rm -f /etc/nologin /etc/nologin.boot -fi - -: exit 0 diff --git a/packages/initscripts/files/save-rtc.sh b/packages/initscripts/files/save-rtc.sh deleted file mode 100644 index e786073051..0000000000 --- a/packages/initscripts/files/save-rtc.sh +++ /dev/null @@ -1,5 +0,0 @@ -#! /bin/sh -/etc/init.d/hwclock.sh stop - -# Update the timestamp -date +%2m%2d%2H%2M%Y > /etc/timestamp diff --git a/packages/initscripts/files/sendsigs b/packages/initscripts/files/sendsigs deleted file mode 100644 index c62a5cd37d..0000000000 --- a/packages/initscripts/files/sendsigs +++ /dev/null @@ -1,17 +0,0 @@ -#! /bin/sh -# -# sendsigs Kill all remaining processes. -# -# Version: @(#)sendsigs 2.75 22-Jun-1998 miquels@cistron.nl -# - -PATH=/sbin:/bin:/usr/sbin:/usr/bin - -# Kill all processes. -echo "Sending all processes the TERM signal..." -killall5 -15 -sleep 5 -echo "Sending all processes the KILL signal..." -killall5 -9 - -: exit 0 diff --git a/packages/initscripts/files/umountfs b/packages/initscripts/files/umountfs deleted file mode 100644 index ec75b0c4a4..0000000000 --- a/packages/initscripts/files/umountfs +++ /dev/null @@ -1,18 +0,0 @@ -#! /bin/sh -# -# umountfs Turn off swap and unmount all local filesystems. -# - -PATH=/sbin:/bin:/usr/sbin:/usr/bin - -echo "Deactivating swap..." -swapoff -a - -# We leave /proc mounted. -echo "Unmounting local filesystems..." -mount -o remount,ro /mnt/ram -umount -f -a -r - -mount -o remount,ro / - -: exit 0 diff --git a/packages/initscripts/files/umountnfs.sh b/packages/initscripts/files/umountnfs.sh deleted file mode 100644 index f5fe48aa74..0000000000 --- a/packages/initscripts/files/umountnfs.sh +++ /dev/null @@ -1,28 +0,0 @@ -#! /bin/sh -# -# umountnfs.sh Unmount all network filesystems. -# - -PATH=/sbin:/bin:/usr/sbin:/usr/bin - -# Write a reboot record to /var/log/wtmp before unmounting -halt -w - -echo "Unmounting remote filesystems..." - -test -f /etc/fstab && ( - -# -# Read through fstab line by line and unount network file systems -# -while read device mountpt fstype options -do - if test "$fstype" = nfs || test "$fstype" = smbfs || test "$fstype" = ncpfs - then - umount -f $mountpt - fi -done |
