diff --git a/scripts/profile/core/build.sh b/scripts/profile/core/build.sh index 7f99bdd..b7ddeaf 100755 --- a/scripts/profile/core/build.sh +++ b/scripts/profile/core/build.sh @@ -7,9 +7,6 @@ echo "Current directory is $PWD" ./pkgs/musl-cross.sh #read -p "Press any key to continue... " -n1 -s -./pkgs/build-linux.sh -#read -p "Press any key to continue... " -n1 -s - ./pkgs/build-toybox.sh #read -p "Press any key to continue... " -n1 -s @@ -19,6 +16,9 @@ echo "Current directory is $PWD" ./pkgs/make-initramfs.sh #read -p "Press any key to continue... " -n1 -s +./pkgs/build-linux.sh +#read -p "Press any key to continue... " -n1 -s + ./pkgs/make-image.sh exit \ No newline at end of file diff --git a/scripts/profile/core/rootfs/etc/init b/scripts/profile/core/rootfs/etc/init index 8eb0189..cdb96ca 100755 --- a/scripts/profile/core/rootfs/etc/init +++ b/scripts/profile/core/rootfs/etc/init @@ -1,10 +1,15 @@ #!/bin/toybox bash /bin/toybox mount -t proc none /proc /bin/toybox mount -t sysfs none /sys -/bin/toybox clear -/bin/toybox oneit -rn -c /dev/tty0 -/bin/toybox openvt -c 1 -s +/bin/toyboy mount -nvt tmpfs none /dev +/bin/toybox lspci +/bin/toybox lsusb +/bin/toybox echo -ne '\007' +/bin/toybox sleep 1 +/bin/toybox echo -ne '\007' /bin/toybox uname /bin/toybox uname -r /bin/toybox cat welcome.txt -/bin/toybox bash +/bin/toybox oneit -rn -c /dev/tty0 /bin/toybox bash +/bin/toybox oneit -rn -c /dev/console /bin/toybox bash +/bin/toybox oneit -rn -c /bin/toybox openvt -c 0 -s diff --git a/scripts/profile/core/rootfs/etc/profile b/scripts/profile/core/rootfs/etc/profile index 0eab924..3103191 100644 --- a/scripts/profile/core/rootfs/etc/profile +++ b/scripts/profile/core/rootfs/etc/profile @@ -1,11 +1,9 @@ # Bash Aliases ## Based off: https://github.com/kkarhan/misc-scripts/blob/master/bash/.bash_aliases - ## Useful commands alias flushcache='sudo sh -c "sync; echo 3 > /proc/sys/vm/drop_caches"' ### Flush the RAM forcefully ### See: https://www.cyberithub.com/drop-flush-clear-cache-memory-ram-in-linux/ - ## faster to type, DOS-alike commands alias cls='clear' alias dir='ls -ahl' @@ -14,12 +12,9 @@ alias unixtime='date +%s' alias ding='printf '\a'' ### Create a Beep [printing out BELL character to stdout] ### See: https://github.com/OS-1337/OS1337/issues/19#issuecomment-1867469203 - function isup() { ping -a -b -c 1 -D "$@"; } ### Single Ping attempt to a specific host which has to be specified i.e. "isup 192.168.0.1" ### This is done to see if a host "is up"... - alias pub4='wget -O http://ip4only.me/api/ ; echo;' -### find public IPv4 adress -### see: http://ip4only.me/ +### find public IPv4 adress using http://ip4only.me/ ### NOTE: Lack of IPv4 connectivity will result in a 404 error!