diff --git a/rootfs_overlay/etc/init.d/S98 b/rootfs_overlay/etc/init.d/S98 index 0fb807b..6e2a17d 100755 --- a/rootfs_overlay/etc/init.d/S98 +++ b/rootfs_overlay/etc/init.d/S98 @@ -1,6 +1,5 @@ #!/bin/sh -echo 'S98' -# insmod /hello.ko +echo "hello S98" if [ -n "$lkmc_eval" ]; then eval "$lkmc_eval" fi diff --git a/rootfs_overlay/root/.profile b/rootfs_overlay/root/.profile new file mode 100644 index 0000000..d59f2e4 --- /dev/null +++ b/rootfs_overlay/root/.profile @@ -0,0 +1,4 @@ +# https://unix.stackexchange.com/questions/176027/ash-profile-configuration-file +echo "hello $(pwd)/.profile" +# Does not inherit init environment variables. +#env