update some content
This commit is contained in:
@@ -45,9 +45,9 @@
|
||||
|
||||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
|
||||
|
||||
<link href="https://h.cowbay.org/css/style.css?v=1634607506" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
|
||||
<link href="https://h.cowbay.org/css/style.css?v=1635401692" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
|
||||
|
||||
<link href="https://h.cowbay.org/css/custom.css?v=1634607506" rel="stylesheet" type='text/css' media='all'>
|
||||
<link href="https://h.cowbay.org/css/custom.css?v=1635401692" rel="stylesheet" type='text/css' media='all'>
|
||||
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
|
||||
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
|
||||
|
||||
@@ -309,7 +309,7 @@ if (!doNotTrack) {
|
||||
<p>紀錄一下步驟,再來研究怎麼整合到 preseed 裡面</p>
|
||||
<h3 id="1-建立-rc-localservice">1. 建立 rc-local.service</h3>
|
||||
<h4 id="sudo-vi-etcsystemdsystemrc-localservice">sudo vi /etc/systemd/system/rc-local.service</h4>
|
||||
<pre tabindex="0"><code>[Unit]
|
||||
<pre><code>[Unit]
|
||||
Description=/etc/rc.local Compatibility
|
||||
ConditionPathExists=/etc/rc.local
|
||||
|
||||
@@ -329,7 +329,7 @@ WantedBy=multi-user.target
|
||||
<p>因此,需要先保留原本的 rc.local</p>
|
||||
<p>在送出通知信件之後,就用原來的 rc.local 蓋掉修改過的 rc.local</p>
|
||||
<h4 id="sudo-vi-etcrclocalbak">sudo vi /etc/rc.local.bak</h4>
|
||||
<pre tabindex="0"><code>#!/bin/sh -e
|
||||
<pre><code>#!/bin/sh -e
|
||||
#
|
||||
# rc.local
|
||||
#
|
||||
@@ -346,7 +346,7 @@ WantedBy=multi-user.target
|
||||
exit 0
|
||||
</code></pre><h3 id="3-建立-rclocal">3. 建立 rc.local</h3>
|
||||
<h4 id="sudo-vi-etcrclocal">sudo vi /etc/rc.local</h4>
|
||||
<pre tabindex="0"><code>#!/bin/sh -e
|
||||
<pre><code>#!/bin/sh -e
|
||||
#
|
||||
# rc.local
|
||||
#
|
||||
@@ -364,12 +364,12 @@ cp /etc/rc.local.bak /etc/rc.local
|
||||
|
||||
exit 0
|
||||
</code></pre><h3 id="4-修改-rclocal-permission">4. 修改 rc.local permission</h3>
|
||||
<pre tabindex="0"><code>sudo chmod +x /etc/rc.local
|
||||
<pre><code>sudo chmod +x /etc/rc.local
|
||||
</code></pre><h3 id="5-啟用-rc-local-service">5. 啟用 rc-local service</h3>
|
||||
<pre tabindex="0"><code>sudo systemctl enable rc-local
|
||||
<pre><code>sudo systemctl enable rc-local
|
||||
</code></pre><hr>
|
||||
<p>ubuntu 18.04 preseeds files</p>
|
||||
<pre tabindex="0"><code># Title: Ubuntu 18.04 preseed.cfg
|
||||
<pre><code># Title: Ubuntu 18.04 preseed.cfg
|
||||
#
|
||||
# File: templates/os-ubuntu-1804-amd64-preseed.cfg
|
||||
# modified by Eric , 2019/07
|
||||
@@ -804,7 +804,7 @@ title="pinterest icon"></i>
|
||||
</div>
|
||||
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
|
||||
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
|
||||
<script src="https://h.cowbay.org/js/production.min.js?v=1634607506"></script>
|
||||
<script src="https://h.cowbay.org/js/production.min.js?v=1635401692"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user