Skip to content

Commit

Permalink
add linux
Browse files Browse the repository at this point in the history
  • Loading branch information
kaisawind committed Sep 15, 2021
1 parent 8171289 commit 15acefa
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 5 deletions.
10 changes: 5 additions & 5 deletions source/_posts/2021-09-14-linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ auto eth0
#iface eth0 inet dhcp
#iface eth1 inet dhcp
iface eth0 inet static
address 192.168.1.232
netmask 255.255.255.0
gateway 192.168.1.1
broadcast 192.168.1.255
dns-nameservers 223.5.5.5
address 192.168.1.232
netmask 255.255.255.0
gateway 192.168.1.1
broadcast 192.168.1.255
dns-nameservers 223.5.5.5
#auto eth1
#iface eth1 inet static
Expand Down
21 changes: 21 additions & 0 deletions source/_posts/2021-09-15-linux.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
layout: post
title: "linux开机启动"
date: 2021-09-15 10:46:16
categories: [linux]
tags: [linux, kernel]
excerpt_separator: <!--more-->
---
linux开机启动
<!--more-->


linux中`rc[x].d`文件夹是不同级别的开机启动项
通过`runlevel`确定系统从哪个级别启动,以下是从级别5启动,所以需要修改`rc5.d`
```bash
bash#4.1:~# runlevel
N 5
```

`rc[x].d`中脚本也有级别一般以S##/K##代表级别。
例如:`S99local.sh`

0 comments on commit 15acefa

Please sign in to comment.