mirror of
git://soft.sys114.com/odroid-stamper
synced 2025-12-19 00:28:41 +09:00
Signed-off-by: Dongjin Kim <tobetter@gmail.com> Change-Id: I13b1c738bfedfc888f866882988967827030f9d9
26 lines
499 B
Bash
Executable File
26 lines
499 B
Bash
Executable File
#!/bin/sh
|
|
|
|
truncate -s 0 /etc/machine-id
|
|
|
|
rm /sbin/initctl
|
|
dpkg-divert --rename --remove /sbin/initctl
|
|
|
|
apt autoremove -y
|
|
apt clean
|
|
|
|
rm -f /etc/flash-kernel/machine
|
|
rm -f /etc/apt/apt.conf.d/99debconf
|
|
|
|
rm -rf /tmp/*
|
|
rm -rf ~/.bash_history
|
|
rm -rf /root/default
|
|
|
|
chown -R root:root /boot
|
|
chown -R root:root /etc
|
|
chown -R root:root /root
|
|
|
|
if [ "x@@INTERNAL@@" = "xtrue" ]; then
|
|
sed -i "/internal/d" /etc/apt/sources.list.d/ppa-linuxfactory-or-kr.list
|
|
sed -i "/ppa.linuxfactory.or.kr/d" /etc/hosts
|
|
fi
|