Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F9399324
raw-paste-data.txt
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
swills
Sep 30 2020, 4:22 PM
2020-09-30 16:22:31 (UTC+0)
Size
568 B
Referenced Files
None
Subscribers
None
raw-paste-data.txt
View Options
#!/bin/sh
cat << EOF > /tmp/excludes.txt
./etc/resolv.conf
./etc/rc.conf
./etc/dhclient.conf
./etc/group
./etc/master.passwd
./etc/pwd.db
./etc/spwd.db
./etc/passwd
EOF
cd /tmp
if [ -f kernel.txz ]; then
rm kernel.txz
fi
if [ -f base.txz ]; then
rm base.txz
fi
fetch https://download.freebsd.org/ftp/snapshots/amd64/amd64/13.0-CURRENT/kernel.txz
fetch https://download.freebsd.org/ftp/snapshots/amd64/amd64/13.0-CURRENT/base.txz
chflags -R noschg /
cd /
tar -xzf /tmp/kernel.txz
tar -xz --exclude-from /tmp/excludes.txt -f /tmp/base.txz
sync
shutdown -r now
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2816684
Default Alt Text
raw-paste-data.txt (568 B)
Attached To
Mode
P430 (An Untitled Masterwork)
Attached
Detach File
Event Timeline
Log In to Comment