EdgeGateway_FSU/CommonSH/rootfs_tar.sh

11 lines
264 B
Bash
Raw Normal View History

2024-03-15 17:15:46 +08:00
#!/bin/bash
echo "rootfs start tar"
cd /home/alientek/linux/nfs/rootfs
sudo chmod 777 rootfs.tar.bz2
rm -f rootfs.tar.bz2
sudo tar -vcjf rootfs.tar.bz2 *
sudo chmod 777 rootfs.tar.bz2
cd /home/alientek/Desktop/test_arm_no/EdgeGateway_FSU/CommonSH
echo "END tar"