Rewrite the core parts in C. We now provide librc so other programs can
query runlevels, services and state without using bash. We also provide libeinfo so other programs can easily use our informational functions. As such, we have dropped the requirement of using bash as the init script shell. We now use /bin/sh and have strived to make the scripts as portable as possible. Shells that work are bash and dash. busybox works provided you disable s-s-d. If you have WIPE_TMP set to yes in conf.d/bootmisc you should disable find too. zsh and ksh do not work at this time. Networking support is currently being re-vamped also as it was heavily bash array based. As such, a new config format is available like so config_eth0="1.2.3.4/24 5.6.7.8/16" or like so config_eth0="'1.2.3.4 netmask 255.255.255.0' '5.6.7.8 netmask 255.255.0.0'" We will still support the old bash array format provided that /bin/sh IS a link it bash. ChangeLog for baselayout-1 can be found in our SVN repo.
This commit is contained in:
6
share.BSD/Makefile
Normal file
6
share.BSD/Makefile
Normal file
@@ -0,0 +1,6 @@
|
||||
DIR = /usr/share/baselayout
|
||||
FILES = fstab group
|
||||
FILES_SECURE = master.passwd
|
||||
|
||||
TOPDIR = ..
|
||||
include $(TOPDIR)/default.mk
|
21
share.BSD/fstab
Normal file
21
share.BSD/fstab
Normal file
@@ -0,0 +1,21 @@
|
||||
# /etc/fstab: static file system information.
|
||||
#
|
||||
# noatime turns off atimes for increased performance (atimes normally aren't
|
||||
# needed.
|
||||
#
|
||||
# The root filesystem should have a pass number of either 0 or 1.
|
||||
# All other filesystems should have a pass number of 0 or greater than 1.
|
||||
#
|
||||
# See the manpage fstab(5) for more information.
|
||||
#
|
||||
|
||||
# <fs> <mountpoint> <type> <opts> <dump/pass>
|
||||
|
||||
/dev/ad0s1a / ufs rw,noatime 1 1
|
||||
/dev/ad0s1b none swap sw 0 0
|
||||
|
||||
/dev/acd0 /mnt/cdrom cd9660 ro,noauto 0 0
|
||||
|
||||
# Enable this line to mount /proc automatically.
|
||||
# Required for Linux emulation.
|
||||
#none /proc linprocfs rw,noexec,nosuid 0 0
|
16
share.BSD/group
Normal file
16
share.BSD/group
Normal file
@@ -0,0 +1,16 @@
|
||||
wheel:*:0:root
|
||||
daemon:*:1:
|
||||
kmem:*:2:
|
||||
sys:*:3:
|
||||
tty:*:4:
|
||||
operator:*:5:root
|
||||
mail:*:6:
|
||||
bin:*:7:
|
||||
news:*:8:
|
||||
guest:*:31:
|
||||
uucp:*:66:
|
||||
dialer:*:68:
|
||||
network:*:69:
|
||||
portage:*:250:
|
||||
nogroup:*:65533:
|
||||
nobody:*:65534:
|
15
share.BSD/master.passwd
Normal file
15
share.BSD/master.passwd
Normal file
@@ -0,0 +1,15 @@
|
||||
root:*:0:0::0:0:GOD:/root:/bin/bash
|
||||
toor:*:0:0::0:0:Bourne-again Superuser:/root:
|
||||
daemon:*:1:1::0:0:Owner of many system processes:/root:/usr/sbin/nologin
|
||||
operator:*:2:5::0:0:System Operator:/:/usr/sbin/nologin
|
||||
bin:*:3:7::0:0:Binaries Commands and Source:/:/usr/sbin/nologin
|
||||
tty:*:4:65533::0:0:Tty Sandbox:/:/usr/sbin/nologin
|
||||
kmem:*:5:65533::0:0:KMem Sandbox:/:/usr/sbin/nologin
|
||||
mail:*:6:6::0:0:Mail programs:/var/spool/mail:/usr/sbin/nologin
|
||||
games:*:7:13::0:0:Games pseudo-user:/usr/games:/usr/sbin/nologin
|
||||
news:*:8:8::0:0:News Subsystem:/:/usr/sbin/nologin
|
||||
man:*:9:9::0:0:Mister Man Pages:/usr/share/man:/usr/sbin/nologin
|
||||
smmsp:*:25:25::0:0:Sendmail Submission User:/var/spool/clientmqueue:/usr/sbin/nologin
|
||||
uucp:*:66:66::0:0:UUCP pseudo-user:/var/spool/uucppublic:/usr/local/libexec/uucp/uucico
|
||||
portage:*:250:250::0:0:Portage user:/var/tmp/portage/homedir:/bin/sh
|
||||
nobody:*:65534:65534::0:0:Unprivileged user:/nonexistent:/usr/sbin/nologin
|
Reference in New Issue
Block a user