当前位置:首页 > Linux > 正文内容

Ubuntu22基于/etc/rc5.d/文件注册开机启动项实现Synopsys工具自动激活

chanra1n4年前 (2023-01-05)Linux6101

查看当前运行级别

runlevel


编写启动脚本

vim /etc/init.d/autorun.sh


写入内容

#!/bin/sh

/usr/local/eda_tools/synopsys/scl/2018.06/linux64/bin/lmgrd -c /usr/local/eda_tools/synopsys/Synopsys.dat


赋予脚本执行权限

chmod 777 /etc/init.d/autorun.sh


将脚本链接到/etc/rc5.d/目录下

ln -s /etc/init.d/autorun.sh /etc/rc5.d/S99autorun


然后重启

reboot now


扫描二维码推送至手机访问。

版权声明:本文由我的FPGA发布,如需转载请注明出处。

本文链接:https://world.myfpga.cn/index.php/post/294.html

分享给朋友:

“Ubuntu22基于/etc/rc5.d/文件注册开机启动项实现Synopsys工具自动激活” 的相关文章

CentOS7 安装Caddy、Aria2、AriaNg实现离线下载

CentOS7 安装Caddy、Aria2、AriaNg实现离线下载

#CentOS执行以下命令yum -y install wget unzip curl wget https://github.com/helloxz/ccaa/archive/master.zip unzip master....

一键升级Centos6 Python至2.7.9 并安装宝塔

一键升级Centos6 Python至2.7.9 并安装宝塔

#直接复制运行命令即可 curl -o install.sh http://download.myfpga.cn/linux/centos/pythonandbt.sh && sh install.sh...

一键解决KALI中文乱码问题

一键解决KALI中文乱码问题

echo "deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib" >> /etc/apt/sour...

MW155R AR9331 刷机固件合集

MW155R AR9331 刷机固件合集

factory-to-ddwrt.binddwifi-ar71xx-generic-tl-wr710n-v1-squashfs-sysupgrade.binGECOOS_AP110T_QCA933X_5.6_2018102600.binlede-17.01.0-r3205-59508e3-ar71x...

小米路由器MINI刷爱快固件

小米路由器MINI刷爱快固件

uboot-xiaomi-mini-115200.binIK-MT7620AV4-H1S.bin...

爱快登录面板API

爱快登录面板API

接口名:登录面板API接口地址:路由器管理地址+/Action/login接口调用方式:POST参数1:username    用户名参数2:passwd    密码,为输入密码的MD5加密,32位小写参数3:pass&...