11 lines
264 B
Bash
11 lines
264 B
Bash
|
#!/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"
|