# HG changeset patch # User Pascal Bellard # Date 1591893773 0 # Node ID c21687abfa6a15530aacc28132a527a4e64f727a # Parent 424fb2c33d923a91936ac7ce06d0553d69c822e1 busybox: /etc/mtab is a symlink diff -r 424fb2c33d92 -r c21687abfa6a base-tiny/stuff/etc/busybox.conf --- a/base-tiny/stuff/etc/busybox.conf Sat Jun 06 11:03:06 2020 +0000 +++ b/base-tiny/stuff/etc/busybox.conf Thu Jun 11 16:42:53 2020 +0000 @@ -1,6 +1,3 @@ -# /etc/busybox.conf: SliTaz GNU/linux Busybox configuration. -# - [SUID] # Allow command to be run by anyone. su = ssx root.root diff -r 424fb2c33d92 -r c21687abfa6a base-tiny/stuff/etc/hosts --- a/base-tiny/stuff/etc/hosts Sat Jun 06 11:03:06 2020 +0000 +++ b/base-tiny/stuff/etc/hosts Thu Jun 11 16:42:53 2020 +0000 @@ -1,1 +1,1 @@ -127.0.0.1 localhost slitaz tazpanel +127.0.0.1 localhost slitaz diff -r 424fb2c33d92 -r c21687abfa6a base-tiny/stuff/etc/inetd.conf --- a/base-tiny/stuff/etc/inetd.conf Sat Jun 06 11:03:06 2020 +0000 +++ b/base-tiny/stuff/etc/inetd.conf Thu Jun 11 16:42:53 2020 +0000 @@ -1,16 +1,5 @@ # Internet server configuration database # -# -# If you want to disable an entry so it isn't touched during -# package updates just comment it out with a single '#' character. -# -# If you make changes to this file, either reboot your machine or -# send the inetd process a HUP signal: -# Do a "ps x" as root and look up the pid of inetd. Then do a -# kill -HUP -# inetd will re-read this file whenever it gets that signal. -# -# #:INTERNAL: Internal services # It is generally considered safer to keep these off. echo stream tcp nowait root internal diff -r 424fb2c33d92 -r c21687abfa6a base-tiny/stuff/etc/inittab --- a/base-tiny/stuff/etc/inittab Sat Jun 06 11:03:06 2020 +0000 +++ b/base-tiny/stuff/etc/inittab Thu Jun 11 16:42:53 2020 +0000 @@ -1,6 +1,4 @@ -# /etc/inittab: init configuration for SliTaz GNU/Linux. # Boot-time system configuration/initialization script. -# ::sysinit:/etc/init.d/rcS 2>&1 | tee /var/log/boot.log # getty respawn shell invocations for selected ttys. diff -r 424fb2c33d92 -r c21687abfa6a base-tiny/stuff/etc/mtab --- a/base-tiny/stuff/etc/mtab Sat Jun 06 11:03:06 2020 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -/proc/mounts \ No newline at end of file diff -r 424fb2c33d92 -r c21687abfa6a base-tiny/stuff/etc/network.conf --- a/base-tiny/stuff/etc/network.conf Sat Jun 06 11:03:06 2020 +0000 +++ b/base-tiny/stuff/etc/network.conf Thu Jun 11 16:42:53 2020 +0000 @@ -1,6 +1,5 @@ -# /etc/network.conf: SliTaz system wide networking configuration. +# SliTaz system wide networking configuration. # Config file used by: /etc/init.d/network.sh -# # Set default interface. INTERFACE="eth0" diff -r 424fb2c33d92 -r c21687abfa6a base-tiny/stuff/etc/rcS.conf --- a/base-tiny/stuff/etc/rcS.conf Sat Jun 06 11:03:06 2020 +0000 +++ b/base-tiny/stuff/etc/rcS.conf Thu Jun 11 16:42:53 2020 +0000 @@ -1,6 +1,5 @@ -# /etc/rcS.conf - Initial boot script configuration for SliTaz GNU/Linux. +# Initial boot script configuration for SliTaz GNU/Linux. # Config file used by /etc/init.d/rcS -# # Clean up the system removing all tmp and pid files. CLEAN_UP_SYSTEM="yes" diff -r 424fb2c33d92 -r c21687abfa6a base-tiny/stuff/etc/shells --- a/base-tiny/stuff/etc/shells Sat Jun 06 11:03:06 2020 +0000 +++ b/base-tiny/stuff/etc/shells Thu Jun 11 16:42:53 2020 +0000 @@ -1,5 +1,1 @@ -# /etc/shells: Valid login shells. /bin/sh -/bin/ash -/bin/bash -/bin/hush diff -r 424fb2c33d92 -r c21687abfa6a busybox-net/receipt --- a/busybox-net/receipt Sat Jun 06 11:03:06 2020 +0000 +++ b/busybox-net/receipt Thu Jun 11 16:42:53 2020 +0000 @@ -77,6 +77,7 @@ { mkdir $fs/boot $fs/bin $fs/sbin cp -a $WOK/base-tiny/stuff/. $fs/ + sed -i -e 's| *#.*$||' -e '/^$/d' $fs/etc/services cp -a $src/_install/bin/busybox $fs/bin for i in /bin/sh /bin/login /bin/false /sbin/mdev /init ; do ln -f $fs/bin/busybox $fs$i @@ -152,6 +153,7 @@ { sed -i 's|local.sh|network.sh &|' $1/etc/rcS.conf chmod 4755 $1/bin/busybox + ln -fs /proc/mounts $1/etc/mtab DHCP="no" STATIC="yes" case "$MODE" in diff -r 424fb2c33d92 -r c21687abfa6a busybox/receipt --- a/busybox/receipt Sat Jun 06 11:03:06 2020 +0000 +++ b/busybox/receipt Thu Jun 11 16:42:53 2020 +0000 @@ -147,6 +147,7 @@ post_install() { chmod 4755 $1/bin/busybox + ln -fs /proc/mounts $1/etc/mtab cat >> $1/boot/mkrootfs.pre_exec <