Skip to content

Commit

Permalink
rfs/static/clear +_link.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
huapox committed Dec 2, 2024
1 parent b03cfd7 commit cd265ab
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions rootfs/src/static/clear/_link.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

# link-bin,sbin
echo -e "\n[link] /usr/sbin/"
find /usr/local/static -type f |grep "/sbin/" |sort | \
while read one; do ls -lh $one; ln -s $one /usr/sbin/; done; \

echo -e "\n[link] /usr/bin/"
find /usr/local/static -type f |grep "/bin/" |sort | \
while read one; do ls -lh $one; ln -s $one /usr/bin/; done;

0 comments on commit cd265ab

Please sign in to comment.