updated orangepi_zero2w_support
This commit is contained in:
1 parent
0d7b9901b8
commit
ac7cb03d8e
34 files changed
+247
-10
No files matched your search
@@ -0,0 +1,3 @@
|
||||
DROPBEAR_PORT=22
|
||||
DROPBEAR_EXTRA_ARGS="-E -R -B -m -F"
|
||||
ENABLE_ROOT_LOGIN="yes"
|
||||
@@ -0,0 +1 @@
|
||||
service [2345] env:/etc/default/dropbear dropbear $DROPBEAR_EXTRA_ARGS -p$DROPBEAR_PORT -- Dropbear SSH daemon
|
||||
@@ -0,0 +1 @@
|
||||
task [S] hostname -F /etc/hostname
|
||||
@@ -0,0 +1 @@
|
||||
service [2345] inetd -f -- Internet super server
|
||||
@@ -1 +0,0 @@
|
||||
run [S] /etc/finit.d/available/modprobe.sh
|
||||
@@ -1,5 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
for i in $(cat /etc/modules); do
|
||||
modprobe $i
|
||||
done
|
||||
@@ -0,0 +1,16 @@
|
||||
# cat syslogd.conf
|
||||
# BusyBox syslogd + klogd
|
||||
# Use <pid/syslogd> as barrier for other system tasks and service that
|
||||
# rely on modules, firmware, and device nodes to be ready.
|
||||
|
||||
# We want syslogd to always run, never be stopped, regardless of runlevel
|
||||
# so it can send to any remote syslog server the user has set up.
|
||||
service if:udevd nowarn env:-/etc/default/syslogd <!run/udevadm:5/success> \
|
||||
[S0123456789] syslogd -n $SYSLOGD_ARGS -- System log daemon
|
||||
service if:mdev nowarn env:-/etc/default/syslogd <!run/coldplug/success> \
|
||||
[S0123456789] syslogd -n $SYSLOGD_ARGS -- System log daemon
|
||||
service if:mdevd nowarn env:-/etc/default/syslogd <!run/coldplug/success> \
|
||||
[S0123456789] syslogd -n $SYSLOGD_ARGS -- System log daemon
|
||||
|
||||
# klogd depends on syslogd, but BusyBox syslogd doesn't create a PID file to sync with
|
||||
service [S0123456789] <!pid/syslogd> klogd -n -- Kernel log daemon
|
||||
@@ -0,0 +1,5 @@
|
||||
# cat telnetd.conf
|
||||
# Note: telnetd also runs from inetd, see /etc/inetd.conf
|
||||
#service [2345] <!> :23 telnetd -F -p 23 -- Telnet daemon on port 23
|
||||
#service [2345] <!> :2323 telnetd -F -p 2323 -- Telnet daemon on port 2323
|
||||
service [2345] <!> telnetd -F -- Telnet daemon
|
||||
@@ -0,0 +1 @@
|
||||
../available/dropbear.conf
|
||||
@@ -0,0 +1 @@
|
||||
../available/hostname.conf
|
||||
@@ -0,0 +1 @@
|
||||
../available/inetd.conf
|
||||
@@ -1 +0,0 @@
|
||||
../available/modprobe.conf
|
||||
@@ -0,0 +1 @@
|
||||
../available/syslogd.conf
|
||||
@@ -0,0 +1 @@
|
||||
../available/telnetd.conf
|
||||
@@ -0,0 +1 @@
|
||||
/dev/mmcblk0p1 / ext4 rw,relatime 0 1
|
||||
@@ -0,0 +1,17 @@
|
||||
root:x:0:root
|
||||
tty:x:5:
|
||||
disk:x:6:root
|
||||
kmem:x:9:
|
||||
floppy:x:11:root
|
||||
audio:x:18:
|
||||
cdrom:x:19:
|
||||
dialout:x:20:root
|
||||
input:x:23:
|
||||
tape:x:26:root
|
||||
video:x:27:root
|
||||
netdev:x:28:
|
||||
dnsmasq:x:963:dnsmasq
|
||||
sshd:x:33:sshd
|
||||
kvm:x:34:kvm
|
||||
nobody:x:65534:
|
||||
gitea:x:1000:
|
||||
@@ -0,0 +1 @@
|
||||
orangepi_zero_2w
|
||||
@@ -0,0 +1 @@
|
||||
21 stream tcp nowait root /sbin/ftpd /sbin/ftpd -S -A -w /srv/ftp
|
||||
File renamed without changes.
@@ -0,0 +1,3 @@
|
||||
Welcome to Simple Linux!
|
||||
|
||||
You may change this message by editing /etc/motd.
|
||||
@@ -0,0 +1,5 @@
|
||||
root:x:0:0:root:/root:/bin/sh
|
||||
dnsmasq:x:963:963:dnsmasq daemon:/:/usr/bin/nologin
|
||||
sshd:x:33:33:SSH daemon:/var/lib/sshd:/bin/sh
|
||||
nobody:x:65534:65534:Kernel Oerflow User:/:/usr/bin/nologin
|
||||
gitea:x:1000:1000:Gitea daemon user:/home/gitea:/bin/sh
|
||||
@@ -0,0 +1,27 @@
|
||||
#!/bin/sh
|
||||
|
||||
#--- import colors ---
|
||||
. /usr/lib/init/colors.sh
|
||||
#---------------------
|
||||
|
||||
export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/.local/bin
|
||||
|
||||
export PS1="$BGREEN** \u@\h: \$(date +%d.%m.%Y) \t\n\w \\\$ $RESET"
|
||||
[ $(id -u) -eq 0 ] && export PS1="$BRED** \u@\h: \$(date +%d.%m.%Y) \t\n\w \\\$ $RESET"
|
||||
|
||||
#--- sys ---
|
||||
alias psa='busybox ps' # show all processes
|
||||
alias c='clear' # clear terminal screen
|
||||
alias e='echo' # print in terminal
|
||||
alias s='source' # source
|
||||
alias una='uname -a' # system name
|
||||
alias ifcnf='ifconfig' # ifconfig
|
||||
alias ipr='ip route' # show routes
|
||||
alias ipa='ip addr' # show addresses
|
||||
alias ipl='ip link' # show links
|
||||
alias ll='ls -lh' # show list files with information
|
||||
alias la='ls -a'
|
||||
alias l='ls -alh'
|
||||
alias df='df -h'
|
||||
alias free='free -h'
|
||||
#-----------
|
||||
@@ -0,0 +1,4 @@
|
||||
root:F.fHA5x2Q.xNY:19797::::::
|
||||
dnsmasq:!*:19889::::::
|
||||
sshd:!:19906:0:99999:7:::
|
||||
nobody:!*:19889::::::
|
||||
@@ -0,0 +1,2 @@
|
||||
/bin/sh
|
||||
/bin/ash
|
||||
Reference in new issue
Block a user