remove obsolete directories.

Bu işleme şunda yer alıyor:
Albert S. 2015-05-31 12:41:37 +02:00
ebeveyn 00ec563bd9
işleme b72c6a0ae9
11 değiştirilmiş dosya ile 0 ekleme ve 182 silme

Dosyayı Görüntüle

@ -1,9 +0,0 @@
# /etc/fstab: static file system information.
#
# <file system> <mount pt> <type> <options> <dump> <pass>
/dev/root / ext2 rw,noauto 0 1
proc /proc proc defaults 0 0
devpts /dev/pts devpts defaults,gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs mode=0777 0 0
tmpfs /tmp tmpfs defaults 0 0
sysfs /sys sysfs defaults 0 0

Dosyayı Görüntüle

@ -1 +0,0 @@
rescueos

Dosyayı Görüntüle

@ -1,84 +0,0 @@
#!/bin/sh
EMULATOR=0
VERSION="1.1"
mount -t sysfs none /sys
mount -n -t proc none /proc
echo 200 > /sys/class/backlight/acx565akm/brightness
mount -t tmpfs -o size=64k,mode=0755 tmpfs /dev
mkdir /dev/pts
mount -t devpts devpts /dev/pts
mount -t tmpfs -o rw,noexec,nosuid,mode=0755 tmpfs /run
mount -t tmpfs -o rw,mode=0755 tmpfs /root/
mount -t tmpfs -o rw,nosuid,nodev tmpfs /tmp/
echo /sbin/mdev.sh > /proc/sys/kernel/hotplug
mdev -s
find /sys/devices/* -name modalias | while read module ; do
modprobe `cat $module` 2> /dev/null
done
hwclock -s
hostname -F /etc/hostname
modprobe leds-lp5523
/sbin/battery-watchdog &
#/rescueOS/charge21.bash > /run/batterylog &
clear
echo "Disclaimer: This system comes without any warranty. Use it at your own risk."
sleep 3
clear
echo "Welcome to N900 Rescue Initrd $VERSION"
echo
/sbin/loadkmap < /rescueOS/nokia-n900.kmap
for i in 2 3 7 8 ; do
echo 25 > /sys/class/leds/lp5523\:channel$i/brightness
done
autostart_script=`grep -q autostart /proc/cmdline && cat /proc/cmdline | sed -e 's/.*autostart=\(.*\)/\1/'`
if [ -n "$autostart_script" ] ; then
echo "Running $autostart_script"
$autostart_script
fi
touch /run/resolv.conf
echo "The root password is: rootme"
#Being helpful for beginners, and annoying for "power users"
echo "Start an FTP server with anonymous up and downloads everywhere? y/n"
read result;
if [ "$result" = "y" ] ; then
tcpsvd -v 0.0.0.0 21 ftpd -w &
fi
echo "Start telnetd? y/n"
read result;
if [ "$result" = "y" ] ; then
telnetd
fi
echo "Start usb-networking? y/n"
read result;
if [ "$result" = "y" ] ; then
/rescueOS/usbnetworking-enable.sh
fi
#node mess
if [ -e /sys/block/mmcblk0 ] && [ -e /sys/block/mmcblk1 ] ; then
echo -n "1" > /run/internal_nodenr
else
echo -n "0" > /run/internal_nodenr
fi
if [ "$EMULATOR" = "1" ] ; then
udhcpc eth0
fi
#We are done.

Dosyayı Görüntüle

@ -1,4 +0,0 @@
::sysinit:/etc/init.d/rcS
tty1::respawn:-/bin/bash
ttyS0::respawn:-/bin/bash
::shutdown:/bin/sh /rescueOS/shutdown-cleanup

Dosyayı Görüntüle

@ -1 +0,0 @@
root:$1$sz.20p5a$c40FElyGq0cIfHXeQQChQ/:0:0:root:/root:/bin/bash

Dosyayı Görüntüle

@ -1 +0,0 @@
root:$1$6WxBQ9E9$xc/J67N0/3N1HAsGkVur..:0:0:root:/root:/bin/bash

Dosyayı Görüntüle

@ -1 +0,0 @@
PS1="\w\$ "

Dosyayı Görüntüle

@ -1,28 +0,0 @@
#!/bin/sh
#Modified, we warn only now....
#fill_charger()
#{
#usb=`cat /sys/bus/platform/devices/twl4030_usb/vbus`
#wall=`cat /sys/bus/platform/devices/musb_hdrc/charger`
#if [ "$usb" = "on" ] || [ "$wall" = 1 ] ; then
#charger=1
#else
#charger=0
#fi
#}
while [ true ] ; do
cap=`cat /sys/class/power_supply/bq27200-0/capacity`
#fill_charger
#if [ $cap -le 55 -a $charger -eq 0 ] ; then
if [ $cap -le 45 ] ; then
#echo "Attention: Plugin the charger soon to not run out of power. Current: $cap%. To disable this message, type \"stfu\""
echo "Attention: Charge the battery (by running the charger script) to not run out of power. Current: $cap%. To disable this message, type \"stfu\""
fi
sleep 20
done

Dosyayı Görüntüle

@ -1,3 +0,0 @@
#!/bin/sh
[ -e /lib/firmware/$FIRMWARE ] || echo -1 > /sys/$DEVPATH/loading
/sbin/mdev

Dosyayı Görüntüle

@ -1,2 +0,0 @@
#!/bin/sh
killall battery-watchdog

Dosyayı Görüntüle

@ -1,48 +0,0 @@
#!/bin/sh
# udhcpc script edited by Tim Riker <Tim@Rikers.org>
RESOLV_CONF="/etc/resolv.conf"
[ -n "$1" ] || { echo "Error: should be called from udhcpc"; exit 1; }
NETMASK=""
[ -n "$subnet" ] && NETMASK="netmask $subnet"
BROADCAST="broadcast +"
[ -n "$broadcast" ] && BROADCAST="broadcast $broadcast"
case "$1" in
deconfig)
echo "Setting IP address 0.0.0.0 on $interface"
ifconfig $interface 0.0.0.0
;;
renew|bound)
echo "Setting IP address $ip on $interface"
ifconfig $interface $ip $NETMASK $BROADCAST
if [ -n "$router" ] ; then
echo "Deleting routers"
while route del default gw 0.0.0.0 dev $interface ; do
:
done
metric=0
for i in $router ; do
echo "Adding router $i"
route add default gw $i dev $interface metric $((metric++))
done
fi
echo "Recreating $RESOLV_CONF"
echo -n > $RESOLV_CONF-$$
[ -n "$domain" ] && echo "search $domain" >> $RESOLV_CONF-$$
for i in $dns ; do
echo " Adding DNS server $i"
echo "nameserver $i" >> $RESOLV_CONF-$$
done
mv $RESOLV_CONF-$$ $RESOLV_CONF
;;
esac
exit 0