How to change the soft link in target.requires or target.wants directory
zhang_cy1989
zhang_cy1989 at 163.com
Thu Dec 26 18:17:02 AEDT 2019
Dear All
The target.requires or target.wants contains some soft link.
Ex:
/lib/systemd/system/obmc-host-startmin at 0.target.requires
lrwxrwxrwx 1 root root 31 Nov 29 2019 obmc-chassis-poweron at 0.target -> ../obmc-chassis-poweron at .target
lrwxrwxrwx 1 root root 25 Nov 28 09:51 op-occ-enable at 0.service -> ../op-occ-enable at .service
lrwxrwxrwx 1 root root 22 Nov 28 09:57 start_host at 0.service -> ../start_host at .service
Now, I want to add or delete soft link:op-occ-enable at 0.service
I can use "rm -rf ./op-occ-enable at 0.service" to achieve the goal.
But,I'm not exactly sure this is formal operation. And I'm afraid this will be side effect.
Are there other tools or formal methods to do this?
Best regards
Felix
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20191226/e428f7c5/attachment.htm>
More information about the openbmc
mailing list