◄  ▲  ► |
# etc/passwd
echo "Creating /etc/passwd"
echo "root::0:0:root:/:/bin/sh" > tempfs/etc/passwd
# rcStart
echo "Creating /etc/init.d/rcS"
echo "#!/bin/sh" > tempfs/etc/init.d/rcS
echo 'echo "Welcome to Linux!"' >> tempfs/etc/init.d/rcS
chmod +x tempfs/etc/init.d/rcS