Commit 77a8d25e authored by fuyanbin's avatar fuyanbin
Browse files

用setmac service 持久化设备mac地址

parent de859d54
...@@ -30,6 +30,11 @@ sudo cp -f "$uninstallpkgrc" "$build_dir/system/etc/init" ...@@ -30,6 +30,11 @@ sudo cp -f "$uninstallpkgrc" "$build_dir/system/etc/init"
sudo cp -f "$uninstallpkgfile" "$build_dir/system/bin" sudo cp -f "$uninstallpkgfile" "$build_dir/system/bin"
sudo chcon u:object_r:drmserver_exec:s0 "$build_dir/system/bin/$(basename "$uninstallpkgfile")" sudo chcon u:object_r:drmserver_exec:s0 "$build_dir/system/bin/$(basename "$uninstallpkgfile")"
sudo cp -f "$setmacrc" "$build_dir/system/etc/init"
sudo cp -f "$setmacfile" "$build_dir/system/bin"
sudo chcon u:object_r:drmserver_exec:s0 "$build_dir/system/bin/$(basename "$setmacfile")"
sudo umount "$loopdev" sudo umount "$loopdev"
sudo losetup -d "$loopdev" sudo losetup -d "$loopdev"
sync sync
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment