diff --git a/rootfs/src/static/clear/_link.sh b/rootfs/src/static/clear/_link.sh new file mode 100644 index 0000000..f58c7c5 --- /dev/null +++ b/rootfs/src/static/clear/_link.sh @@ -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;