summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
-rw-r--r--marionnet-trunk.install1592
-rw-r--r--marionnet.install207
4 files changed, 208 insertions, 1595 deletions
diff --git a/.SRCINFO b/.SRCINFO
index cce46fed629..8bc97c12557 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,7 +3,7 @@ pkgbase = marionnet-trunk
pkgver = 1
pkgrel = 2
url = https://www.marionnet.org/
- install = marionnet.install
+ install = marionnet-trunk.install
arch = i686
arch = x86_64
license = LGPL
diff --git a/PKGBUILD b/PKGBUILD
index 4ca709053e9..d0b0e157068 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -36,7 +36,7 @@ sha256sums=('4f81ab86258be0eea1507dd5338c8670490f8616249821e731f8ac1c64caa4a7'
'610c806e595be4d56ff6cded02e8d8a3091fe211487073c02ddb5132c3b4ffb6'
'fc5359a9559c6194ab96f947f6d3c097cb0458d3a8e4bb634f131eb8f88c1e0f'
'5d8ddf6e5c5b726e892bae2b55eb5eb01f43bd47fa2855ec38797d0598a6ea24')
-install=marionnet.install
+install=marionnet-trunk.install
# ################
# MAKEDEPENDS : CREATED DURING COMPILATION but not keep
diff --git a/marionnet-trunk.install b/marionnet-trunk.install
index 66f90f01bd6..174572910ad 100644
--- a/marionnet-trunk.install
+++ b/marionnet-trunk.install
@@ -1,1387 +1,207 @@
-
-
-
-<!DOCTYPE html>
-<html lang="en" class="">
- <head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# object: http://ogp.me/ns/object# article: http://ogp.me/ns/article# profile: http://ogp.me/ns/profile#">
- <meta charset='utf-8'>
-
- <link crossorigin="anonymous" href="https://assets-cdn.github.com/assets/frameworks-3514e6d8825ab9f55728f0030acba498e5da5b85ebc8abc35f0f466ac9d2bdda.css" media="all" rel="stylesheet" />
- <link crossorigin="anonymous" href="https://assets-cdn.github.com/assets/github-92b560dee7dafd08f0965a6d49e5e4298b3d856899681b308fd7809d9c35367b.css" media="all" rel="stylesheet" />
-
-
- <link crossorigin="anonymous" href="https://assets-cdn.github.com/assets/site-c2aeff568e26c813514b4d8e4befc924e3863ac2c0ad2aa52a2c4070f1793079.css" media="all" rel="stylesheet" />
-
-
- <link as="script" href="https://assets-cdn.github.com/assets/frameworks-ea5bbb2a837377ffde53e1099e5909c8df4d36cc5e90c05aeb3694b157df7e4d.js" rel="preload" />
-
- <link as="script" href="https://assets-cdn.github.com/assets/github-391829145dbc07158dde112aa636b7ac8b58f7726527ce710bd56118ae1d2f57.js" rel="preload" />
-
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta http-equiv="Content-Language" content="en">
- <meta name="viewport" content="width=device-width">
-
-
- <title>Marionnet_ArchLinux_Installer/marionnet-trunk.install at master · JulioJu/Marionnet_ArchLinux_Installer · GitHub</title>
- <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="GitHub">
- <link rel="fluid-icon" href="https://github.com/fluidicon.png" title="GitHub">
- <link rel="apple-touch-icon" href="/apple-touch-icon.png">
- <link rel="apple-touch-icon" sizes="57x57" href="/apple-touch-icon-57x57.png">
- <link rel="apple-touch-icon" sizes="60x60" href="/apple-touch-icon-60x60.png">
- <link rel="apple-touch-icon" sizes="72x72" href="/apple-touch-icon-72x72.png">
- <link rel="apple-touch-icon" sizes="76x76" href="/apple-touch-icon-76x76.png">
- <link rel="apple-touch-icon" sizes="114x114" href="/apple-touch-icon-114x114.png">
- <link rel="apple-touch-icon" sizes="120x120" href="/apple-touch-icon-120x120.png">
- <link rel="apple-touch-icon" sizes="144x144" href="/apple-touch-icon-144x144.png">
- <link rel="apple-touch-icon" sizes="152x152" href="/apple-touch-icon-152x152.png">
- <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon-180x180.png">
- <meta property="fb:app_id" content="1401488693436528">
-
- <meta content="https://avatars1.githubusercontent.com/u/11527844?v=3&amp;s=400" name="twitter:image:src" /><meta content="@github" name="twitter:site" /><meta content="summary" name="twitter:card" /><meta content="JulioJu/Marionnet_ArchLinux_Installer" name="twitter:title" /><meta content="Marionnet_ArchLinux_Installer - Marionnet-trunk ArchLinux installer (PKGBUILD, etc) for Aur. This repository contains the Makefile pach for https://www.marionnet.org" name="twitter:description" />
- <meta content="https://avatars1.githubusercontent.com/u/11527844?v=3&amp;s=400" property="og:image" /><meta content="GitHub" property="og:site_name" /><meta content="object" property="og:type" /><meta content="JulioJu/Marionnet_ArchLinux_Installer" property="og:title" /><meta content="https://github.com/JulioJu/Marionnet_ArchLinux_Installer" property="og:url" /><meta content="Marionnet_ArchLinux_Installer - Marionnet-trunk ArchLinux installer (PKGBUILD, etc) for Aur. This repository contains the Makefile pach for https://www.marionnet.org" property="og:description" />
- <meta name="browser-stats-url" content="https://api.github.com/_private/browser/stats">
- <meta name="browser-errors-url" content="https://api.github.com/_private/browser/errors">
- <link rel="assets" href="https://assets-cdn.github.com/">
-
- <meta name="pjax-timeout" content="1000">
-
-
- <meta name="msapplication-TileImage" content="/windows-tile.png">
- <meta name="msapplication-TileColor" content="#ffffff">
- <meta name="selected-link" value="repo_source" data-pjax-transient>
-
- <meta name="google-site-verification" content="KT5gs8h0wvaagLKAVWq8bbeNwnZZK1r1XQysX3xurLU">
-<meta name="google-site-verification" content="ZzhVyEFwb7w3e0-uOTltm8Jsck2F5StVihD0exw2fsA">
- <meta name="google-analytics" content="UA-3769691-2">
-
-<meta content="collector.githubapp.com" name="octolytics-host" /><meta content="github" name="octolytics-app-id" /><meta content="527A6E59:8522:200D84DD:574AFB1B" name="octolytics-dimension-request_id" />
-<meta content="/&lt;user-name&gt;/&lt;repo-name&gt;/blob/show" data-pjax-transient="true" name="analytics-location" />
-
-
-
- <meta class="js-ga-set" name="dimension1" content="Logged Out">
-
-
-
- <meta name="hostname" content="github.com">
- <meta name="user-login" content="">
-
- <meta name="expected-hostname" content="github.com">
- <meta name="js-proxy-site-detection-payload" content="NmY2ZWEzNTJiYzFkYjVmOWUwMDk3MTEwNDk3YTAyMDdjZjc4MWUxNWY4MDhlOTcwYjc1NWRiN2Y2NWJiNDM3Znx7InJlbW90ZV9hZGRyZXNzIjoiODIuMTIyLjExMC44OSIsInJlcXVlc3RfaWQiOiI1MjdBNkU1OTo4NTIyOjIwMEQ4NEREOjU3NEFGQjFCIiwidGltZXN0YW1wIjoxNDY0NTMxNzM5fQ==">
-
-
- <link rel="mask-icon" href="https://assets-cdn.github.com/pinned-octocat.svg" color="#4078c0">
- <link rel="icon" type="image/x-icon" href="https://assets-cdn.github.com/favicon.ico">
-
- <meta name="html-safe-nonce" content="d7680dba9cf8cbf3956257dcb57f811dd4c40372">
- <meta content="50c37226faa722936705509a72d0eb3b921b5885" name="form-nonce" />
-
- <meta http-equiv="x-pjax-version" content="e7cec84ad9772b41eb2a7820f7affce2">
-
-
-
- <meta name="description" content="Marionnet_ArchLinux_Installer - Marionnet-trunk ArchLinux installer (PKGBUILD, etc) for Aur. This repository contains the Makefile pach for https://www.marionnet.org">
- <meta name="go-import" content="github.com/JulioJu/Marionnet_ArchLinux_Installer git https://github.com/JulioJu/Marionnet_ArchLinux_Installer.git">
-
- <meta content="11527844" name="octolytics-dimension-user_id" /><meta content="JulioJu" name="octolytics-dimension-user_login" /><meta content="59944307" name="octolytics-dimension-repository_id" /><meta content="JulioJu/Marionnet_ArchLinux_Installer" name="octolytics-dimension-repository_nwo" /><meta content="true" name="octolytics-dimension-repository_public" /><meta content="false" name="octolytics-dimension-repository_is_fork" /><meta content="59944307" name="octolytics-dimension-repository_network_root_id" /><meta content="JulioJu/Marionnet_ArchLinux_Installer" name="octolytics-dimension-repository_network_root_nwo" />
- <link href="https://github.com/JulioJu/Marionnet_ArchLinux_Installer/commits/master.atom" rel="alternate" title="Recent Commits to Marionnet_ArchLinux_Installer:master" type="application/atom+xml">
-
-
- <link rel="canonical" href="https://github.com/JulioJu/Marionnet_ArchLinux_Installer/blob/master/marionnet-trunk.install" data-pjax-transient>
- </head>
-
-
- <body class="logged-out env-production vis-public page-blob">
- <div id="js-pjax-loader-bar" class="pjax-loader-bar"></div>
- <a href="#start-of-content" tabindex="1" class="accessibility-aid js-skip-to-content">Skip to content</a>
-
-
-
-
-
-
-
- <header class="site-header js-details-container" role="banner">
- <div class="container-responsive">
- <a class="header-logo-invertocat" href="https://github.com/" aria-label="Homepage" data-ga-click="(Logged out) Header, go to homepage, icon:logo-wordmark">
- <svg aria-hidden="true" class="octicon octicon-mark-github" height="32" version="1.1" viewBox="0 0 16 16" width="32"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59 0.4 0.07 0.55-0.17 0.55-0.38 0-0.19-0.01-0.82-0.01-1.49-2.01 0.37-2.53-0.49-2.69-0.94-0.09-0.23-0.48-0.94-0.82-1.13-0.28-0.15-0.68-0.52-0.01-0.53 0.63-0.01 1.08 0.58 1.23 0.82 0.72 1.21 1.87 0.87 2.33 0.66 0.07-0.52 0.28-0.87 0.51-1.07-1.78-0.2-3.64-0.89-3.64-3.95 0-0.87 0.31-1.59 0.82-2.15-0.08-0.2-0.36-1.02 0.08-2.12 0 0 0.67-0.21 2.2 0.82 0.64-0.18 1.32-0.27 2-0.27 0.68 0 1.36 0.09 2 0.27 1.53-1.04 2.2-0.82 2.2-0.82 0.44 1.1 0.16 1.92 0.08 2.12 0.51 0.56 0.82 1.27 0.82 2.15 0 3.07-1.87 3.75-3.65 3.95 0.29 0.25 0.54 0.73 0.54 1.48 0 1.07-0.01 1.93-0.01 2.2 0 0.21 0.15 0.46 0.55 0.38C13.71 14.53 16 11.53 16 8 16 3.58 12.42 0 8 0z"></path></svg>
- </a>
-
- <button class="btn-link right site-header-toggle js-details-target" type="button" aria-label="Toggle navigation">
- <svg aria-hidden="true" class="octicon octicon-three-bars" height="24" version="1.1" viewBox="0 0 12 16" width="18"><path d="M11.41 9H0.59c-0.59 0-0.59-0.41-0.59-1s0-1 0.59-1h10.81c0.59 0 0.59 0.41 0.59 1s0 1-0.59 1z m0-4H0.59c-0.59 0-0.59-0.41-0.59-1s0-1 0.59-1h10.81c0.59 0 0.59 0.41 0.59 1s0 1-0.59 1zM0.59 11h10.81c0.59 0 0.59 0.41 0.59 1s0 1-0.59 1H0.59c-0.59 0-0.59-0.41-0.59-1s0-1 0.59-1z"></path></svg>
- </button>
-
- <div class="site-header-menu">
- <nav class="site-header-nav site-header-nav-main">
- <a href="/personal" class="js-selected-navigation-item nav-item nav-item-personal" data-ga-click="Header, click, Nav menu - item:personal" data-selected-links="/personal /personal">
- Personal
-</a> <a href="/open-source" class="js-selected-navigation-item nav-item nav-item-opensource" data-ga-click="Header, click, Nav menu - item:opensource" data-selected-links="/open-source /open-source">
- Open source
-</a> <a href="/business" class="js-selected-navigation-item nav-item nav-item-business" data-ga-click="Header, click, Nav menu - item:business" data-selected-links="/business /business/features /business/customers /business">
- Business
-</a> <a href="/explore" class="js-selected-navigation-item nav-item nav-item-explore" data-ga-click="Header, click, Nav menu - item:explore" data-selected-links="/explore /trending /trending/developers /integrations /integrations/feature/code /integrations/feature/collaborate /integrations/feature/ship /explore">
- Explore
-</a> </nav>
-
- <div class="site-header-actions">
- <a class="btn btn-primary site-header-actions-btn" href="/join?source=header-repo" data-ga-click="(Logged out) Header, clicked Sign up, text:sign-up">Sign up</a>
- <a class="btn site-header-actions-btn mr-2" href="/login?return_to=%2FJulioJu%2FMarionnet_ArchLinux_Installer%2Fblob%2Fmaster%2Fmarionnet-trunk.install" data-ga-click="(Logged out) Header, clicked Sign in, text:sign-in">Sign in</a>
- </div>
-
- <nav class="site-header-nav site-header-nav-secondary">
- <a class="nav-item" href="/pricing">Pricing</a>
- <a class="nav-item" href="/blog">Blog</a>
- <a class="nav-item" href="https://help.github.com">Support</a>
- <a class="nav-item header-search-link" href="https://github.com/search">Search GitHub</a>
- <div class="header-search scoped-search site-scoped-search js-site-search" role="search">
- <!-- </textarea> --><!-- '"` --><form accept-charset="UTF-8" action="/JulioJu/Marionnet_ArchLinux_Installer/search" class="js-site-search-form" data-scoped-search-url="/JulioJu/Marionnet_ArchLinux_Installer/search" data-unscoped-search-url="/search" method="get"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="&#x2713;" /></div>
- <label class="form-control header-search-wrapper js-chromeless-input-container">
- <div class="header-search-scope">This repository</div>
- <input type="text"
- class="form-control header-search-input js-site-search-focus js-site-search-field is-clearable"
- data-hotkey="s"
- name="q"
- placeholder="Search"
- aria-label="Search this repository"
- data-unscoped-placeholder="Search GitHub"
- data-scoped-placeholder="Search"
- tabindex="1"
- autocapitalize="off">
- </label>
-</form></div>
-
- </nav>
- </div>
- </div>
-</header>
-
-
-
- <div id="start-of-content" class="accessibility-aid"></div>
-
- <div id="js-flash-container">
-</div>
-
-
- <div role="main" class="main-content">
- <div itemscope itemtype="http://schema.org/SoftwareSourceCode">
- <div id="js-repo-pjax-container" data-pjax-container>
-
-<div class="pagehead repohead instapaper_ignore readability-menu experiment-repo-nav">
- <div class="container repohead-details-container">
-
-
-
-<ul class="pagehead-actions">
-
- <li>
- <a href="/login?return_to=%2FJulioJu%2FMarionnet_ArchLinux_Installer"
- class="btn btn-sm btn-with-count tooltipped tooltipped-n"
- aria-label="You must be signed in to watch a repository" rel="nofollow">
- <svg aria-hidden="true" class="octicon octicon-eye" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path d="M8.06 2C3 2 0 8 0 8s3 6 8.06 6c4.94 0 7.94-6 7.94-6S13 2 8.06 2z m-0.06 10c-2.2 0-4-1.78-4-4 0-2.2 1.8-4 4-4 2.22 0 4 1.8 4 4 0 2.22-1.78 4-4 4z m2-4c0 1.11-0.89 2-2 2s-2-0.89-2-2 0.89-2 2-2 2 0.89 2 2z"></path></svg>
- Watch
- </a>
- <a class="social-count" href="/JulioJu/Marionnet_ArchLinux_Installer/watchers">
- 1
- </a>
-
- </li>
-
- <li>
- <a href="/login?return_to=%2FJulioJu%2FMarionnet_ArchLinux_Installer"
- class="btn btn-sm btn-with-count tooltipped tooltipped-n"
- aria-label="You must be signed in to star a repository" rel="nofollow">
- <svg aria-hidden="true" class="octicon octicon-star" height="16" version="1.1" viewBox="0 0 14 16" width="14"><path d="M14 6l-4.9-0.64L7 1 4.9 5.36 0 6l3.6 3.26L2.67 14l4.33-2.33 4.33 2.33L10.4 9.26 14 6z"></path></svg>
- Star
- </a>
-
- <a class="social-count js-social-count" href="/JulioJu/Marionnet_ArchLinux_Installer/stargazers">
- 0
- </a>
-
- </li>
-
- <li>
- <a href="/login?return_to=%2FJulioJu%2FMarionnet_ArchLinux_Installer"
- class="btn btn-sm btn-with-count tooltipped tooltipped-n"
- aria-label="You must be signed in to fork a repository" rel="nofollow">
- <svg aria-hidden="true" class="octicon octicon-repo-forked" height="16" version="1.1" viewBox="0 0 10 16" width="10"><path d="M8 1c-1.11 0-2 0.89-2 2 0 0.73 0.41 1.38 1 1.72v1.28L5 8 3 6v-1.28c0.59-0.34 1-0.98 1-1.72 0-1.11-0.89-2-2-2S0 1.89 0 3c0 0.73 0.41 1.38 1 1.72v1.78l3 3v1.78c-0.59 0.34-1 0.98-1 1.72 0 1.11 0.89 2 2 2s2-0.89 2-2c0-0.73-0.41-1.38-1-1.72V9.5l3-3V4.72c0.59-0.34 1-0.98 1-1.72 0-1.11-0.89-2-2-2zM2 4.2c-0.66 0-1.2-0.55-1.2-1.2s0.55-1.2 1.2-1.2 1.2 0.55 1.2 1.2-0.55 1.2-1.2 1.2z m3 10c-0.66 0-1.2-0.55-1.2-1.2s0.55-1.2 1.2-1.2 1.2 0.55 1.2 1.2-0.55 1.2-1.2 1.2z m3-10c-0.66 0-1.2-0.55-1.2-1.2s0.55-1.2 1.2-1.2 1.2 0.55 1.2 1.2-0.55 1.2-1.2 1.2z"></path></svg>
- Fork
- </a>
-
- <a href="/JulioJu/Marionnet_ArchLinux_Installer/network" class="social-count">
- 0
- </a>
- </li>
-</ul>
-
- <h1 class="entry-title public ">
- <svg aria-hidden="true" class="octicon octicon-repo" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path d="M4 9h-1v-1h1v1z m0-3h-1v1h1v-1z m0-2h-1v1h1v-1z m0-2h-1v1h1v-1z m8-1v12c0 0.55-0.45 1-1 1H6v2l-1.5-1.5-1.5 1.5V14H1c-0.55 0-1-0.45-1-1V1C0 0.45 0.45 0 1 0h10c0.55 0 1 0.45 1 1z m-1 10H1v2h2v-1h3v1h5V11z m0-10H2v9h9V1z"></path></svg>
- <span class="author" itemprop="author"><a href="/JulioJu" class="url fn" rel="author">JulioJu</a></span><!--
---><span class="path-divider">/</span><!--
---><strong itemprop="name"><a href="/JulioJu/Marionnet_ArchLinux_Installer" data-pjax="#js-repo-pjax-container">Marionnet_ArchLinux_Installer</a></strong>
-
-</h1>
-
- </div>
- <div class="container">
-
-<nav class="reponav js-repo-nav js-sidenav-container-pjax"
- itemscope
- itemtype="http://schema.org/BreadcrumbList"
- role="navigation"
- data-pjax="#js-repo-pjax-container">
-
- <span itemscope itemtype="http://schema.org/ListItem" itemprop="itemListElement">
- <a href="/JulioJu/Marionnet_ArchLinux_Installer" aria-selected="true" class="js-selected-navigation-item selected reponav-item" data-hotkey="g c" data-selected-links="repo_source repo_downloads repo_commits repo_releases repo_tags repo_branches /JulioJu/Marionnet_ArchLinux_Installer" itemprop="url">
- <svg aria-hidden="true" class="octicon octicon-code" height="16" version="1.1" viewBox="0 0 14 16" width="14"><path d="M9.5 3l-1.5 1.5 3.5 3.5L8 11.5l1.5 1.5 4.5-5L9.5 3zM4.5 3L0 8l4.5 5 1.5-1.5L2.5 8l3.5-3.5L4.5 3z"></path></svg>
- <span itemprop="name">Code</span>
- <meta itemprop="position" content="1">
-</a> </span>
-
- <span itemscope itemtype="http://schema.org/ListItem" itemprop="itemListElement">
- <a href="/JulioJu/Marionnet_ArchLinux_Installer/issues" class="js-selected-navigation-item reponav-item" data-hotkey="g i" data-selected-links="repo_issues repo_labels repo_milestones /JulioJu/Marionnet_ArchLinux_Installer/issues" itemprop="url">
- <svg aria-hidden="true" class="octicon octicon-issue-opened" height="16" version="1.1" viewBox="0 0 14 16" width="14"><path d="M7 2.3c3.14 0 5.7 2.56 5.7 5.7S10.14 13.7 7 13.7 1.3 11.14 1.3 8s2.56-5.7 5.7-5.7m0-1.3C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7S10.86 1 7 1z m1 3H6v5h2V4z m0 6H6v2h2V10z"></path></svg>
- <span itemprop="name">Issues</span>
- <span class="counter">0</span>
- <meta itemprop="position" content="2">
-</a> </span>
-
- <span itemscope itemtype="http://schema.org/ListItem" itemprop="itemListElement">
- <a href="/JulioJu/Marionnet_ArchLinux_Installer/pulls" class="js-selected-navigation-item reponav-item" data-hotkey="g p" data-selected-links="repo_pulls /JulioJu/Marionnet_ArchLinux_Installer/pulls" itemprop="url">
- <svg aria-hidden="true" class="octicon octicon-git-pull-request" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path d="M11 11.28c0-1.73 0-6.28 0-6.28-0.03-0.78-0.34-1.47-0.94-2.06s-1.28-0.91-2.06-0.94c0 0-1.02 0-1 0V0L4 3l3 3V4h1c0.27 0.02 0.48 0.11 0.69 0.31s0.3 0.42 0.31 0.69v6.28c-0.59 0.34-1 0.98-1 1.72 0 1.11 0.89 2 2 2s2-0.89 2-2c0-0.73-0.41-1.38-1-1.72z m-1 2.92c-0.66 0-1.2-0.55-1.2-1.2s0.55-1.2 1.2-1.2 1.2 0.55 1.2 1.2-0.55 1.2-1.2 1.2zM4 3c0-1.11-0.89-2-2-2S0 1.89 0 3c0 0.73 0.41 1.38 1 1.72 0 1.55 0 5.56 0 6.56-0.59 0.34-1 0.98-1 1.72 0 1.11 0.89 2 2 2s2-0.89 2-2c0-0.73-0.41-1.38-1-1.72V4.72c0.59-0.34 1-0.98 1-1.72z m-0.8 10c0 0.66-0.55 1.2-1.2 1.2s-1.2-0.55-1.2-1.2 0.55-1.2 1.2-1.2 1.2 0.55 1.2 1.2z m-1.2-8.8c-0.66 0-1.2-0.55-1.2-1.2s0.55-1.2 1.2-1.2 1.2 0.55 1.2 1.2-0.55 1.2-1.2 1.2z"></path></svg>
- <span itemprop="name">Pull requests</span>
- <span class="counter">0</span>
- <meta itemprop="position" content="3">
-</a> </span>
-
-
-
- <a href="/JulioJu/Marionnet_ArchLinux_Installer/pulse" class="js-selected-navigation-item reponav-item" data-selected-links="pulse /JulioJu/Marionnet_ArchLinux_Installer/pulse">
- <svg aria-hidden="true" class="octicon octicon-pulse" height="16" version="1.1" viewBox="0 0 14 16" width="14"><path d="M11.5 8L8.8 5.4 6.6 8.5 5.5 1.6 2.38 8H0V10h3.6L4.5 8.2l0.9 5.4L9 8.5l1.6 1.5H14V8H11.5z"></path></svg>
- Pulse
-</a>
- <a href="/JulioJu/Marionnet_ArchLinux_Installer/graphs" class="js-selected-navigation-item reponav-item" data-selected-links="repo_graphs repo_contributors /JulioJu/Marionnet_ArchLinux_Installer/graphs">
- <svg aria-hidden="true" class="octicon octicon-graph" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path d="M16 14v1H0V0h1v14h15z m-11-1H3V8h2v5z m4 0H7V3h2v10z m4 0H11V6h2v7z"></path></svg>
- Graphs
-</a>
-
-</nav>
-
- </div>
-</div>
-
-<div class="container new-discussion-timeline experiment-repo-nav">
- <div class="repository-content">
-
-
-
-<a href="/JulioJu/Marionnet_ArchLinux_Installer/blob/eba1b10673e13872cd31c241f5d7b64f0694a862/marionnet-trunk.install" class="hidden js-permalink-shortcut" data-hotkey="y">Permalink</a>
-
-<!-- blob contrib key: blob_contributors:v21:63a0f16aaffca4071628925850448811 -->
-
-<div class="file-navigation js-zeroclipboard-container">
-
-<div class="select-menu branch-select-menu js-menu-container js-select-menu left">
- <button class="btn btn-sm select-menu-button js-menu-target css-truncate" data-hotkey="w"
- title="master"
- type="button" aria-label="Switch branches or tags" tabindex="0" aria-haspopup="true">
- <i>Branch:</i>
- <span class="js-select-button css-truncate-target">master</span>
- </button>
-
- <div class="select-menu-modal-holder js-menu-content js-navigation-container" data-pjax aria-hidden="true">
-
- <div class="select-menu-modal">
- <div class="select-menu-header">
- <svg aria-label="Close" class="octicon octicon-x js-menu-close" height="16" role="img" version="1.1" viewBox="0 0 12 16" width="12"><path d="M7.48 8l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75-1.48-1.48 3.75-3.75L0.77 4.25l1.48-1.48 3.75 3.75 3.75-3.75 1.48 1.48-3.75 3.75z"></path></svg>
- <span class="select-menu-title">Switch branches/tags</span>
- </div>
-
- <div class="select-menu-filters">
- <div class="select-menu-text-filter">
- <input type="text" aria-label="Filter branches/tags" id="context-commitish-filter-field" class="form-control js-filterable-field js-navigation-enable" placeholder="Filter branches/tags">
- </div>
- <div class="select-menu-tabs">
- <ul>
- <li class="select-menu-tab">
- <a href="#" data-tab-filter="branches" data-filter-placeholder="Filter branches/tags" class="js-select-menu-tab" role="tab">Branches</a>
- </li>
- <li class="select-menu-tab">
- <a href="#" data-tab-filter="tags" data-filter-placeholder="Find a tag…" class="js-select-menu-tab" role="tab">Tags</a>
- </li>
- </ul>
- </div>
- </div>
-
- <div class="select-menu-list select-menu-tab-bucket js-select-menu-tab-bucket" data-tab-filter="branches" role="menu">
-
- <div data-filterable-for="context-commitish-filter-field" data-filterable-type="substring">
-
-
- <a class="select-menu-item js-navigation-item js-navigation-open selected"
- href="/JulioJu/Marionnet_ArchLinux_Installer/blob/master/marionnet-trunk.install"
- data-name="master"
- data-skip-pjax="true"
- rel="nofollow">
- <svg aria-hidden="true" class="octicon octicon-check select-menu-item-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path d="M12 5L4 13 0 9l1.5-1.5 2.5 2.5 6.5-6.5 1.5 1.5z"></path></svg>
- <span class="select-menu-item-text css-truncate-target js-select-menu-filter-text" title="master">
- master
- </span>
- </a>
- </div>
-
- <div class="select-menu-no-results">Nothing to show</div>
- </div>
-
- <div class="select-menu-list select-menu-tab-bucket js-select-menu-tab-bucket" data-tab-filter="tags">
- <div data-filterable-for="context-commitish-filter-field" data-filterable-type="substring">
-
-
- </div>
-
- <div class="select-menu-no-results">Nothing to show</div>
- </div>
-
- </div>
- </div>
-</div>
-
- <div class="btn-group right">
- <a href="/JulioJu/Marionnet_ArchLinux_Installer/find/master"
- class="js-pjax-capture-input btn btn-sm"
- data-pjax
- data-hotkey="t">
- Find file
- </a>
- <button aria-label="Copy file path to clipboard" class="js-zeroclipboard btn btn-sm zeroclipboard-button tooltipped tooltipped-s" data-copied-hint="Copied!" type="button">Copy path</button>
- </div>
- <div class="breadcrumb js-zeroclipboard-target">
- <span class="repo-root js-repo-root"><span class="js-path-segment"><a href="/JulioJu/Marionnet_ArchLinux_Installer"><span>Marionnet_ArchLinux_Installer</span></a></span></span><span class="separator">/</span><strong class="final-path">marionnet-trunk.install</strong>
- </div>
-</div>
-
-
- <div class="commit-tease">
- <span class="right">
- <a class="commit-tease-sha" href="/JulioJu/Marionnet_ArchLinux_Installer/commit/3cdd56d9b2c48b8e47d9d2d3ec9b2a10a6cef431" data-pjax>
- 3cdd56d
- </a>
- <relative-time datetime="2016-05-29T13:52:51Z">May 29, 2016</relative-time>
- </span>
- <div>
- <img alt="@JulioJu" class="avatar" height="20" src="https://avatars0.githubusercontent.com/u/11527844?v=3&amp;s=40" width="20" />
- <a href="/JulioJu" class="user-mention" rel="author">JulioJu</a>
- <a href="/JulioJu/Marionnet_ArchLinux_Installer/commit/3cdd56d9b2c48b8e47d9d2d3ec9b2a10a6cef431" class="message" data-pjax="true" title="Initial commit">Initial commit</a>
- </div>
-
- <div class="commit-tease-contributors">
- <button type="button" class="btn-link muted-link contributors-toggle" data-facebox="#blob_contributors_box">
- <strong>1</strong>
- contributor
- </button>
-
- </div>
-
- <div id="blob_contributors_box" style="display:none">
- <h2 class="facebox-header" data-facebox-id="facebox-header">Users who have contributed to this file</h2>
- <ul class="facebox-user-list" data-facebox-id="facebox-description">
- <li class="facebox-user-list-item">
- <img alt="@JulioJu" height="24" src="https://avatars2.githubusercontent.com/u/11527844?v=3&amp;s=48" width="24" />
- <a href="/JulioJu">JulioJu</a>
- </li>
- </ul>
- </div>
- </div>
-
-<div class="file">
- <div class="file-header">
- <div class="file-actions">
-
- <div class="btn-group">
- <a href="/JulioJu/Marionnet_ArchLinux_Installer/raw/master/marionnet-trunk.install" class="btn btn-sm " id="raw-url">Raw</a>
- <a href="/JulioJu/Marionnet_ArchLinux_Installer/blame/master/marionnet-trunk.install" class="btn btn-sm js-update-url-with-hash">Blame</a>
- <a href="/JulioJu/Marionnet_ArchLinux_Installer/commits/master/marionnet-trunk.install" class="btn btn-sm " rel="nofollow">History</a>
- </div>
-
-
- <button type="button" class="btn-octicon disabled tooltipped tooltipped-nw"
- aria-label="You must be signed in to make or propose changes">
- <svg aria-hidden="true" class="octicon octicon-pencil" height="16" version="1.1" viewBox="0 0 14 16" width="14"><path d="M0 12v3h3l8-8-3-3L0 12z m3 2H1V12h1v1h1v1z m10.3-9.3l-1.3 1.3-3-3 1.3-1.3c0.39-0.39 1.02-0.39 1.41 0l1.59 1.59c0.39 0.39 0.39 1.02 0 1.41z"></path></svg>
- </button>
- <button type="button" class="btn-octicon btn-octicon-danger disabled tooltipped tooltipped-nw"
- aria-label="You must be signed in to make or propose changes">
- <svg aria-hidden="true" class="octicon octicon-trashcan" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path d="M10 2H8c0-0.55-0.45-1-1-1H4c-0.55 0-1 0.45-1 1H1c-0.55 0-1 0.45-1 1v1c0 0.55 0.45 1 1 1v9c0 0.55 0.45 1 1 1h7c0.55 0 1-0.45 1-1V5c0.55 0 1-0.45 1-1v-1c0-0.55-0.45-1-1-1z m-1 12H2V5h1v8h1V5h1v8h1V5h1v8h1V5h1v9z m1-10H1v-1h9v1z"></path></svg>
- </button>
- </div>
-
- <div class="file-info">
- 210 lines (176 sloc)
- <span class="file-info-divider"></span>
- 7 KB
- </div>
-</div>
-
-
-
- <div itemprop="text" class="blob-wrapper data type-shell">
- <table class="highlight tab-size js-file-line-container" data-tab-size="8">
- <tr>
- <td id="L1" class="blob-num js-line-number" data-line-number="1"></td>
- <td id="LC1" class="blob-code blob-code-inner js-file-line">
-</td>
- </tr>
- <tr>
- <td id="L2" class="blob-num js-line-number" data-line-number="2"></td>
- <td id="LC2" class="blob-code blob-code-inner js-file-line"><span class="pl-c"># Adapted from :</span></td>
- </tr>
- <tr>
- <td id="L3" class="blob-num js-line-number" data-line-number="3"></td>
- <td id="LC3" class="blob-code blob-code-inner js-file-line"><span class="pl-c"># http://bazaar.launchpad.net/~marionnet-drivers/marionnet/trunk/view/head:/useful-scripts/marionnet_from_scratch</span></td>
- </tr>
- <tr>
- <td id="L4" class="blob-num js-line-number" data-line-number="4"></td>
- <td id="LC4" class="blob-code blob-code-inner js-file-line"><span class="pl-c"># (LGPL)</span></td>
- </tr>
- <tr>
- <td id="L5" class="blob-num js-line-number" data-line-number="5"></td>
- <td id="LC5" class="blob-code blob-code-inner js-file-line">
-</td>
- </tr>
- <tr>
- <td id="L6" class="blob-num js-line-number" data-line-number="6"></td>
- <td id="LC6" class="blob-code blob-code-inner js-file-line"><span class="pl-en">post_install</span> () {</td>
- </tr>
- <tr>
- <td id="L7" class="blob-num js-line-number" data-line-number="7"></td>
- <td id="LC7" class="blob-code blob-code-inner js-file-line">
-</td>
- </tr>
- <tr>
- <td id="L8" class="blob-num js-line-number" data-line-number="8"></td>
- <td id="LC8" class="blob-code blob-code-inner js-file-line"><span class="pl-c1">echo</span> -e <span class="pl-s"><span class="pl-pds">&quot;</span>* Marionnet installation completed\n\n<span class="pl-pds">&quot;</span></span></td>
- </tr>
- <tr>
- <td id="L9" class="blob-num js-line-number" data-line-number="9"></td>
- <td id="LC9" class="blob-code blob-code-inner js-file-line">
-</td>
- </tr>
- <tr>
- <td id="L10" class="blob-num js-line-number" data-line-number="10"></td>
- <td id="LC10" class="blob-code blob-code-inner js-file-line"><span class="pl-c1">echo</span> -e <span class="pl-s"><span class="pl-pds">&quot;</span>Post installation hook<span class="pl-pds">&quot;</span></span></td>
- </tr>
- <tr>
- <td id="L11" class="blob-num js-line-number" data-line-number="11"></td>
- <td id="LC11" class="blob-code blob-code-inner js-file-line"><span class="pl-c1">echo</span> -e <span class="pl-s"><span class="pl-pds">&quot;</span>——————————————————————\n<span class="pl-pds">&quot;</span></span></td>
- </tr>
- <tr>
- <td id="L12" class="blob-num js-line-number" data-line-number="12"></td>
- <td id="LC12" class="blob-code blob-code-inner js-file-line">
-</td>
- </tr>
- <tr>
- <td id="L13" class="blob-num js-line-number" data-line-number="13"></td>
- <td id="LC13" class="blob-code blob-code-inner js-file-line"><span class="pl-c"># =============================================================</span></td>
- </tr>
- <tr>
- <td id="L14" class="blob-num js-line-number" data-line-number="14"></td>
- <td id="LC14" class="blob-code blob-code-inner js-file-line"><span class="pl-c"># Adjust X -nolisten tcp</span></td>
- </tr>
- <tr>
- <td id="L15" class="blob-num js-line-number" data-line-number="15"></td>
- <td id="LC15" class="blob-code blob-code-inner js-file-line"><span class="pl-c"># =============================================================</span></td>
- </tr>
- <tr>
- <td id="L16" class="blob-num js-line-number" data-line-number="16"></td>
- <td id="LC16" class="blob-code blob-code-inner js-file-line">
-</td>
- </tr>
- <tr>
- <td id="L17" class="blob-num js-line-number" data-line-number="17"></td>
- <td id="LC17" class="blob-code blob-code-inner js-file-line"><span class="pl-c"># Here $SUDO_OR_NOTHING is null</span></td>
- </tr>
- <tr>
- <td id="L18" class="blob-num js-line-number" data-line-number="18"></td>
- <td id="LC18" class="blob-code blob-code-inner js-file-line">tmpfile=<span class="pl-s"><span class="pl-pds">$(</span>mktemp /tmp/marionnetInstallTmpXXXXXXX<span class="pl-pds">)</span></span></td>
- </tr>
- <tr>
- <td id="L19" class="blob-num js-line-number" data-line-number="19"></td>
- <td id="LC19" class="blob-code blob-code-inner js-file-line">
-</td>
- </tr>
- <tr>
- <td id="L20" class="blob-num js-line-number" data-line-number="20"></td>
- <td id="LC20" class="blob-code blob-code-inner js-file-line"><span class="pl-k">function</span> <span class="pl-en">remove_nolisten_assignment_from</span> {</td>
- </tr>
- <tr>
- <td id="L21" class="blob-num js-line-number" data-line-number="21"></td>
- <td id="LC21" class="blob-code blob-code-inner js-file-line"><span class="pl-c"># global SUDO_OR_NOTHING</span></td>
- </tr>
- <tr>
- <td id="L22" class="blob-num js-line-number" data-line-number="22"></td>
- <td id="LC22" class="blob-code blob-code-inner js-file-line"><span class="pl-k">local</span> i=<span class="pl-smi">$1</span></td>
- </tr>
- <tr>
- <td id="L23" class="blob-num js-line-number" data-line-number="23"></td>
- <td id="LC23" class="blob-code blob-code-inner js-file-line"><span class="pl-smi">$SUDO_OR_NOTHING</span> sed -i -e <span class="pl-s"><span class="pl-pds">&#39;</span>s/\(^[a-ZA-Z0-9]*[=].*[-]nolisten tcp.*\)$/#\1\n\1/g<span class="pl-pds">&#39;</span></span> <span class="pl-smi">$i</span></td>
- </tr>
- <tr>
- <td id="L24" class="blob-num js-line-number" data-line-number="24"></td>
- <td id="LC24" class="blob-code blob-code-inner js-file-line"><span class="pl-smi">$SUDO_OR_NOTHING</span> sed -i -e <span class="pl-s"><span class="pl-pds">&#39;</span>s/\(^[a-ZA-Z0-9]*[=].*\)[-]nolisten tcp\(.*\)$/\1 \2/g<span class="pl-pds">&#39;</span></span> <span class="pl-smi">$i</span></td>
- </tr>
- <tr>
- <td id="L25" class="blob-num js-line-number" data-line-number="25"></td>
- <td id="LC25" class="blob-code blob-code-inner js-file-line">}</td>
- </tr>
- <tr>
- <td id="L26" class="blob-num js-line-number" data-line-number="26"></td>
- <td id="LC26" class="blob-code blob-code-inner js-file-line">
-</td>
- </tr>
- <tr>
- <td id="L27" class="blob-num js-line-number" data-line-number="27"></td>
- <td id="LC27" class="blob-code blob-code-inner js-file-line"><span class="pl-k">function</span> <span class="pl-en">remove_nolisten_X_or_startx_actuals_from</span> {</td>
- </tr>
- <tr>
- <td id="L28" class="blob-num js-line-number" data-line-number="28"></td>
- <td id="LC28" class="blob-code blob-code-inner js-file-line"><span class="pl-c"># global SUDO_OR_NOTHING</span></td>
- </tr>
- <tr>
- <td id="L29" class="blob-num js-line-number" data-line-number="29"></td>
- <td id="LC29" class="blob-code blob-code-inner js-file-line"><span class="pl-k">local</span> i=<span class="pl-smi">$1</span></td>
- </tr>
- <tr>
- <td id="L30" class="blob-num js-line-number" data-line-number="30"></td>
- <td id="LC30" class="blob-code blob-code-inner js-file-line"><span class="pl-smi">$SUDO_OR_NOTHING</span> sed -i -e <span class="pl-s"><span class="pl-pds">&#39;</span>s/\(^[a-ZA-Z0-9/: ]*X.*\)[-]nolisten tcp\(.*\)$/\1\2/g<span class="pl-pds">&#39;</span></span> <span class="pl-smi">$i</span></td>
- </tr>
- <tr>
- <td id="L31" class="blob-num js-line-number" data-line-number="31"></td>
- <td id="LC31" class="blob-code blob-code-inner js-file-line"><span class="pl-smi">$SUDO_OR_NOTHING</span> sed -i -e <span class="pl-s"><span class="pl-pds">&#39;</span>s/\(^[a-ZA-Z0-9/: ]*startx.*\)[-]nolisten tcp\(.*\)$/\1\2/g<span class="pl-pds">&#39;</span></span> <span class="pl-smi">$i</span></td>
- </tr>
- <tr>
- <td id="L32" class="blob-num js-line-number" data-line-number="32"></td>
- <td id="LC32" class="blob-code blob-code-inner js-file-line">}</td>
- </tr>
- <tr>
- <td id="L33" class="blob-num js-line-number" data-line-number="33"></td>
- <td id="LC33" class="blob-code blob-code-inner js-file-line">
-</td>
- </tr>
- <tr>
- <td id="L34" class="blob-num js-line-number" data-line-number="34"></td>
- <td id="LC34" class="blob-code blob-code-inner js-file-line"><span class="pl-k">function</span> <span class="pl-en">remove_DisallowTCP_from</span> {</td>
- </tr>
- <tr>
- <td id="L35" class="blob-num js-line-number" data-line-number="35"></td>
- <td id="LC35" class="blob-code blob-code-inner js-file-line"><span class="pl-c"># global SUDO_OR_NOTHING</span></td>
- </tr>
- <tr>
- <td id="L36" class="blob-num js-line-number" data-line-number="36"></td>
- <td id="LC36" class="blob-code blob-code-inner js-file-line"><span class="pl-k">local</span> i=<span class="pl-smi">$1</span></td>
- </tr>
- <tr>
- <td id="L37" class="blob-num js-line-number" data-line-number="37"></td>
- <td id="LC37" class="blob-code blob-code-inner js-file-line"><span class="pl-smi">$SUDO_OR_NOTHING</span> sed -i -e <span class="pl-s"><span class="pl-pds">&#39;</span>s/\(^DisallowTCP=true.*\)$/#\1\nDisallowTCP=false/g<span class="pl-pds">&#39;</span></span> <span class="pl-smi">$i</span></td>
- </tr>
- <tr>
- <td id="L38" class="blob-num js-line-number" data-line-number="38"></td>
- <td id="LC38" class="blob-code blob-code-inner js-file-line">}</td>
- </tr>
- <tr>
- <td id="L39" class="blob-num js-line-number" data-line-number="39"></td>
- <td id="LC39" class="blob-code blob-code-inner js-file-line">
-</td>
- </tr>
- <tr>
- <td id="L40" class="blob-num js-line-number" data-line-number="40"></td>
- <td id="LC40" class="blob-code blob-code-inner js-file-line"><span class="pl-c"># Sections in file have the form &quot;[security]&quot;</span></td>
- </tr>
- <tr>
- <td id="L41" class="blob-num js-line-number" data-line-number="41"></td>
- <td id="LC41" class="blob-code blob-code-inner js-file-line"><span class="pl-k">function</span> <span class="pl-en">ensure_section_and_binding</span> {</td>
- </tr>
- <tr>
- <td id="L42" class="blob-num js-line-number" data-line-number="42"></td>
- <td id="LC42" class="blob-code blob-code-inner js-file-line">[[ <span class="pl-smi">$#</span> <span class="pl-k">-ge</span> 3 ]] <span class="pl-k">||</span> <span class="pl-k">return</span> 1</td>
- </tr>
- <tr>
- <td id="L43" class="blob-num js-line-number" data-line-number="43"></td>
- <td id="LC43" class="blob-code blob-code-inner js-file-line"><span class="pl-k">local</span> SECTION=<span class="pl-smi">$1</span> <span class="pl-c"># ex: security</span></td>
- </tr>
- <tr>
- <td id="L44" class="blob-num js-line-number" data-line-number="44"></td>
- <td id="LC44" class="blob-code blob-code-inner js-file-line"><span class="pl-k">local</span> VARIABLE=<span class="pl-smi">$2</span> <span class="pl-c"># ex: Enable</span></td>
- </tr>
- <tr>
- <td id="L45" class="blob-num js-line-number" data-line-number="45"></td>
- <td id="LC45" class="blob-code blob-code-inner js-file-line"><span class="pl-k">local</span> VALUE=<span class="pl-smi">$3</span> <span class="pl-c"># ex: true</span></td>
- </tr>
- <tr>
- <td id="L46" class="blob-num js-line-number" data-line-number="46"></td>
- <td id="LC46" class="blob-code blob-code-inner js-file-line"><span class="pl-k">local</span> AWK_PROGRAM</td>
- </tr>
- <tr>
- <td id="L47" class="blob-num js-line-number" data-line-number="47"></td>
- <td id="LC47" class="blob-code blob-code-inner js-file-line"><span class="pl-c1">shift</span> 3</td>
- </tr>
- <tr>
- <td id="L48" class="blob-num js-line-number" data-line-number="48"></td>
- <td id="LC48" class="blob-code blob-code-inner js-file-line">AWK_PROGRAM=<span class="pl-s"><span class="pl-pds">&quot;</span></span></td>
- </tr>
- <tr>
- <td id="L49" class="blob-num js-line-number" data-line-number="49"></td>
- <td id="LC49" class="blob-code blob-code-inner js-file-line"><span class="pl-s">BEGIN {x=0}</span></td>
- </tr>
- <tr>
- <td id="L50" class="blob-num js-line-number" data-line-number="50"></td>
- <td id="LC50" class="blob-code blob-code-inner js-file-line"><span class="pl-s">/\[<span class="pl-smi">$SECTION</span>\]/ {x=1;print;next}</span></td>
- </tr>
- <tr>
- <td id="L51" class="blob-num js-line-number" data-line-number="51"></td>
- <td id="LC51" class="blob-code blob-code-inner js-file-line"><span class="pl-s">(x==1) &amp;&amp; /<span class="pl-smi">$VARIABLE</span>=.*/ {print <span class="pl-cce">\&quot;</span><span class="pl-smi">$VARIABLE</span>=<span class="pl-smi">$VALUE</span><span class="pl-cce">\&quot;</span>; x=2; next}</span></td>
- </tr>
- <tr>
- <td id="L52" class="blob-num js-line-number" data-line-number="52"></td>
- <td id="LC52" class="blob-code blob-code-inner js-file-line"><span class="pl-s">(x==1) &amp;&amp; /\[.*\]/ {print <span class="pl-cce">\&quot;</span><span class="pl-smi">$VARIABLE</span>=<span class="pl-smi">$VALUE</span>\n<span class="pl-cce">\&quot;</span>; print; x=2; next}</span></td>
- </tr>
- <tr>
- <td id="L53" class="blob-num js-line-number" data-line-number="53"></td>
- <td id="LC53" class="blob-code blob-code-inner js-file-line"><span class="pl-s">/\[.*\]/ {print;next}</span></td>
- </tr>
- <tr>
- <td id="L54" class="blob-num js-line-number" data-line-number="54"></td>
- <td id="LC54" class="blob-code blob-code-inner js-file-line"><span class="pl-s">{print}</span></td>
- </tr>
- <tr>
- <td id="L55" class="blob-num js-line-number" data-line-number="55"></td>
- <td id="LC55" class="blob-code blob-code-inner js-file-line"><span class="pl-s"> END {if (x==0) print <span class="pl-cce">\&quot;</span>[<span class="pl-smi">$SECTION</span>]<span class="pl-cce">\&quot;</span>; if (x==0 || x==1) print <span class="pl-cce">\&quot;</span><span class="pl-smi">$VARIABLE</span>=<span class="pl-smi">$VALUE</span>\n<span class="pl-cce">\&quot;</span>;}<span class="pl-pds">&quot;</span></span></td>
- </tr>
- <tr>
- <td id="L56" class="blob-num js-line-number" data-line-number="56"></td>
- <td id="LC56" class="blob-code blob-code-inner js-file-line"> <span class="pl-k">case</span> <span class="pl-smi">$#</span> in</td>
- </tr>
- <tr>
- <td id="L57" class="blob-num js-line-number" data-line-number="57"></td>
- <td id="LC57" class="blob-code blob-code-inner js-file-line"> 0) awk <span class="pl-s"><span class="pl-pds">&quot;</span><span class="pl-smi">$AWK_PROGRAM</span><span class="pl-pds">&quot;</span></span> ;;</td>
- </tr>
- <tr>
- <td id="L58" class="blob-num js-line-number" data-line-number="58"></td>
- <td id="LC58" class="blob-code blob-code-inner js-file-line"> <span class="pl-k">*</span>)</td>
- </tr>
- <tr>
- <td id="L59" class="blob-num js-line-number" data-line-number="59"></td>
- <td id="LC59" class="blob-code blob-code-inner js-file-line"> <span class="pl-k">local</span> i</td>
- </tr>
- <tr>
- <td id="L60" class="blob-num js-line-number" data-line-number="60"></td>
- <td id="LC60" class="blob-code blob-code-inner js-file-line"> <span class="pl-k">local</span> TMPFILE=<span class="pl-s"><span class="pl-pds">$(</span>tmpfile<span class="pl-pds">)</span></span></td>
- </tr>
- <tr>
- <td id="L61" class="blob-num js-line-number" data-line-number="61"></td>
- <td id="LC61" class="blob-code blob-code-inner js-file-line"> <span class="pl-k">for</span> <span class="pl-smi">i</span> <span class="pl-k">in</span> <span class="pl-s"><span class="pl-pds">&quot;</span><span class="pl-smi">$@</span><span class="pl-pds">&quot;</span></span><span class="pl-k">;</span> <span class="pl-k">do</span></td>
- </tr>
- <tr>
- <td id="L62" class="blob-num js-line-number" data-line-number="62"></td>
- <td id="LC62" class="blob-code blob-code-inner js-file-line"> awk <span class="pl-k">0&lt;</span><span class="pl-s"><span class="pl-pds">&quot;</span><span class="pl-smi">$i</span><span class="pl-pds">&quot;</span></span> <span class="pl-k">1&gt;</span><span class="pl-smi">$TMPFILE</span> <span class="pl-s"><span class="pl-pds">&quot;</span><span class="pl-smi">$AWK_PROGRAM</span><span class="pl-pds">&quot;</span></span></td>
- </tr>
- <tr>
- <td id="L63" class="blob-num js-line-number" data-line-number="63"></td>
- <td id="LC63" class="blob-code blob-code-inner js-file-line"> cat <span class="pl-smi">$TMPFILE</span> <span class="pl-k">1&gt;</span><span class="pl-s"><span class="pl-pds">&quot;</span><span class="pl-smi">$i</span><span class="pl-pds">&quot;</span></span></td>
- </tr>
- <tr>
- <td id="L64" class="blob-num js-line-number" data-line-number="64"></td>
- <td id="LC64" class="blob-code blob-code-inner js-file-line"> <span class="pl-k">done</span></td>
- </tr>
- <tr>
- <td id="L65" class="blob-num js-line-number" data-line-number="65"></td>
- <td id="LC65" class="blob-code blob-code-inner js-file-line"> rm <span class="pl-smi">$TMPFILE</span></td>
- </tr>
- <tr>
- <td id="L66" class="blob-num js-line-number" data-line-number="66"></td>
- <td id="LC66" class="blob-code blob-code-inner js-file-line"> ;;</td>
- </tr>
- <tr>
- <td id="L67" class="blob-num js-line-number" data-line-number="67"></td>
- <td id="LC67" class="blob-code blob-code-inner js-file-line"> <span class="pl-k">esac</span></td>
- </tr>
- <tr>
- <td id="L68" class="blob-num js-line-number" data-line-number="68"></td>
- <td id="LC68" class="blob-code blob-code-inner js-file-line">}</td>
- </tr>
- <tr>
- <td id="L69" class="blob-num js-line-number" data-line-number="69"></td>
- <td id="LC69" class="blob-code blob-code-inner js-file-line">
-</td>
- </tr>
- <tr>
- <td id="L70" class="blob-num js-line-number" data-line-number="70"></td>
- <td id="LC70" class="blob-code blob-code-inner js-file-line"><span class="pl-c"># This is needed, for instance, for ubuntu 10.10</span></td>
- </tr>
- <tr>
- <td id="L71" class="blob-num js-line-number" data-line-number="71"></td>
- <td id="LC71" class="blob-code blob-code-inner js-file-line"><span class="pl-k">function</span> <span class="pl-en">ensure_DisallowTCP_false_to_gdm_custom_dot_conf</span> {</td>
- </tr>
- <tr>
- <td id="L72" class="blob-num js-line-number" data-line-number="72"></td>
- <td id="LC72" class="blob-code blob-code-inner js-file-line"><span class="pl-c"># global SUDO_OR_NOTHING CHANGED_FILES</span></td>
- </tr>
- <tr>
- <td id="L73" class="blob-num js-line-number" data-line-number="73"></td>
- <td id="LC73" class="blob-code blob-code-inner js-file-line"><span class="pl-k">local</span> custom=<span class="pl-smi">${1<span class="pl-k">:-/</span>etc<span class="pl-k">/</span>gdm<span class="pl-k">/</span>custom.conf}</span></td>
- </tr>
- <tr>
- <td id="L74" class="blob-num js-line-number" data-line-number="74"></td>
- <td id="LC74" class="blob-code blob-code-inner js-file-line"><span class="pl-k">local</span> TMPFILE=<span class="pl-s"><span class="pl-pds">$(</span>tmpfile<span class="pl-pds">)</span></span></td>
- </tr>
- <tr>
- <td id="L75" class="blob-num js-line-number" data-line-number="75"></td>
- <td id="LC75" class="blob-code blob-code-inner js-file-line">cp <span class="pl-smi">$custom</span> <span class="pl-smi">$TMPFILE</span></td>
- </tr>
- <tr>
- <td id="L76" class="blob-num js-line-number" data-line-number="76"></td>
- <td id="LC76" class="blob-code blob-code-inner js-file-line">ensure_section_and_binding <span class="pl-s"><span class="pl-pds">&quot;</span>security<span class="pl-pds">&quot;</span></span> <span class="pl-s"><span class="pl-pds">&quot;</span>DisallowTCP<span class="pl-pds">&quot;</span></span> <span class="pl-s"><span class="pl-pds">&quot;</span>false<span class="pl-pds">&quot;</span></span> <span class="pl-smi">$TMPFILE</span></td>
- </tr>
- <tr>
- <td id="L77" class="blob-num js-line-number" data-line-number="77"></td>
- <td id="LC77" class="blob-code blob-code-inner js-file-line">ensure_section_and_binding <span class="pl-s"><span class="pl-pds">&quot;</span>xdmcp<span class="pl-pds">&quot;</span></span> <span class="pl-s"><span class="pl-pds">&quot;</span>Enable<span class="pl-pds">&quot;</span></span> <span class="pl-s"><span class="pl-pds">&quot;</span>true<span class="pl-pds">&quot;</span></span> <span class="pl-smi">$TMPFILE</span></td>
- </tr>
- <tr>
- <td id="L78" class="blob-num js-line-number" data-line-number="78"></td>
- <td id="LC78" class="blob-code blob-code-inner js-file-line"><span class="pl-k">if</span> <span class="pl-k">!</span> diff -q <span class="pl-smi">$custom</span> <span class="pl-smi">$TMPFILE</span> <span class="pl-k">&gt;</span>/dev/null<span class="pl-k">;</span> <span class="pl-k">then</span></td>
- </tr>
- <tr>
- <td id="L79" class="blob-num js-line-number" data-line-number="79"></td>
- <td id="LC79" class="blob-code blob-code-inner js-file-line"> CHANGED_FILES+=<span class="pl-s"><span class="pl-pds">&quot;</span><span class="pl-smi">$custom</span> <span class="pl-pds">&quot;</span></span></td>
- </tr>
- <tr>
- <td id="L80" class="blob-num js-line-number" data-line-number="80"></td>
- <td id="LC80" class="blob-code blob-code-inner js-file-line"> <span class="pl-smi">$SUDO_OR_NOTHING</span> bash -c <span class="pl-s"><span class="pl-pds">&quot;</span>cat <span class="pl-smi">$TMPFILE</span> &gt;<span class="pl-smi">$custom</span><span class="pl-pds">&quot;</span></span></td>
- </tr>
- <tr>
- <td id="L81" class="blob-num js-line-number" data-line-number="81"></td>
- <td id="LC81" class="blob-code blob-code-inner js-file-line"><span class="pl-k">fi</span></td>
- </tr>
- <tr>
- <td id="L82" class="blob-num js-line-number" data-line-number="82"></td>
- <td id="LC82" class="blob-code blob-code-inner js-file-line">}</td>
- </tr>
- <tr>
- <td id="L83" class="blob-num js-line-number" data-line-number="83"></td>
- <td id="LC83" class="blob-code blob-code-inner js-file-line">
-</td>
- </tr>
- <tr>
- <td id="L84" class="blob-num js-line-number" data-line-number="84"></td>
- <td id="LC84" class="blob-code blob-code-inner js-file-line"><span class="pl-c"># This is needed, for instance, for ubuntu 12.04</span></td>
- </tr>
- <tr>
- <td id="L85" class="blob-num js-line-number" data-line-number="85"></td>
- <td id="LC85" class="blob-code blob-code-inner js-file-line"><span class="pl-k">function</span> <span class="pl-en">ensure_xserver_allow_tcp_in_lightdm_dot_conf</span> {</td>
- </tr>
- <tr>
- <td id="L86" class="blob-num js-line-number" data-line-number="86"></td>
- <td id="LC86" class="blob-code blob-code-inner js-file-line"><span class="pl-c"># global SUDO_OR_NOTHING CHANGED_FILES</span></td>
- </tr>
- <tr>
- <td id="L87" class="blob-num js-line-number" data-line-number="87"></td>
- <td id="LC87" class="blob-code blob-code-inner js-file-line"><span class="pl-k">local</span> custom=<span class="pl-smi">${1<span class="pl-k">:-/</span>etc<span class="pl-k">/</span>lightdm<span class="pl-k">/</span>lightdm.conf}</span></td>
- </tr>
- <tr>
- <td id="L88" class="blob-num js-line-number" data-line-number="88"></td>
- <td id="LC88" class="blob-code blob-code-inner js-file-line"><span class="pl-k">local</span> TMPFILE=<span class="pl-s"><span class="pl-pds">$(</span>tmpfile<span class="pl-pds">)</span></span></td>
- </tr>
- <tr>
- <td id="L89" class="blob-num js-line-number" data-line-number="89"></td>
- <td id="LC89" class="blob-code blob-code-inner js-file-line">cp <span class="pl-smi">$custom</span> <span class="pl-smi">$TMPFILE</span></td>
- </tr>
- <tr>
- <td id="L90" class="blob-num js-line-number" data-line-number="90"></td>
- <td id="LC90" class="blob-code blob-code-inner js-file-line">ensure_section_and_binding <span class="pl-s"><span class="pl-pds">&quot;</span>SeatDefaults<span class="pl-pds">&quot;</span></span> <span class="pl-s"><span class="pl-pds">&quot;</span>xserver-allow-tcp<span class="pl-pds">&quot;</span></span> <span class="pl-s"><span class="pl-pds">&quot;</span>true<span class="pl-pds">&quot;</span></span> <span class="pl-smi">$TMPFILE</span></td>
- </tr>
- <tr>
- <td id="L91" class="blob-num js-line-number" data-line-number="91"></td>
- <td id="LC91" class="blob-code blob-code-inner js-file-line"><span class="pl-k">if</span> <span class="pl-k">!</span> diff -q <span class="pl-smi">$custom</span> <span class="pl-smi">$TMPFILE</span> <span class="pl-k">&gt;</span>/dev/null<span class="pl-k">;</span> <span class="pl-k">then</span></td>
- </tr>
- <tr>
- <td id="L92" class="blob-num js-line-number" data-line-number="92"></td>
- <td id="LC92" class="blob-code blob-code-inner js-file-line"> CHANGED_FILES+=<span class="pl-s"><span class="pl-pds">&quot;</span><span class="pl-smi">$custom</span> <span class="pl-pds">&quot;</span></span></td>
- </tr>
- <tr>
- <td id="L93" class="blob-num js-line-number" data-line-number="93"></td>
- <td id="LC93" class="blob-code blob-code-inner js-file-line"> <span class="pl-smi">$SUDO_OR_NOTHING</span> bash -c <span class="pl-s"><span class="pl-pds">&quot;</span>cat <span class="pl-smi">$TMPFILE</span> &gt;<span class="pl-smi">$custom</span><span class="pl-pds">&quot;</span></span></td>
- </tr>
- <tr>
- <td id="L94" class="blob-num js-line-number" data-line-number="94"></td>
- <td id="LC94" class="blob-code blob-code-inner js-file-line"><span class="pl-k">fi</span></td>
- </tr>
- <tr>
- <td id="L95" class="blob-num js-line-number" data-line-number="95"></td>
- <td id="LC95" class="blob-code blob-code-inner js-file-line">}</td>
- </tr>
- <tr>
- <td id="L96" class="blob-num js-line-number" data-line-number="96"></td>
- <td id="LC96" class="blob-code blob-code-inner js-file-line">
-</td>
- </tr>
- <tr>
- <td id="L97" class="blob-num js-line-number" data-line-number="97"></td>
- <td id="LC97" class="blob-code blob-code-inner js-file-line">
-</td>
- </tr>
- <tr>
- <td id="L98" class="blob-num js-line-number" data-line-number="98"></td>
- <td id="LC98" class="blob-code blob-code-inner js-file-line"><span class="pl-k">function</span> <span class="pl-en">apply_all_filters</span> {</td>
- </tr>
- <tr>
- <td id="L99" class="blob-num js-line-number" data-line-number="99"></td>
- <td id="LC99" class="blob-code blob-code-inner js-file-line"><span class="pl-c"># global CHANGED_FILES</span></td>
- </tr>
- <tr>
- <td id="L100" class="blob-num js-line-number" data-line-number="100"></td>
- <td id="LC100" class="blob-code blob-code-inner js-file-line"><span class="pl-k">local</span> i=<span class="pl-smi">$1</span></td>
- </tr>
- <tr>
- <td id="L101" class="blob-num js-line-number" data-line-number="101"></td>
- <td id="LC101" class="blob-code blob-code-inner js-file-line">cat <span class="pl-smi">$i</span> <span class="pl-k">&gt;</span> <span class="pl-smi">$BACKUP</span></td>
- </tr>
- <tr>
- <td id="L102" class="blob-num js-line-number" data-line-number="102"></td>
- <td id="LC102" class="blob-code blob-code-inner js-file-line">{ remove_nolisten_assignment_from <span class="pl-smi">$i</span><span class="pl-k">;</span></td>
- </tr>
- <tr>
- <td id="L103" class="blob-num js-line-number" data-line-number="103"></td>
- <td id="LC103" class="blob-code blob-code-inner js-file-line"> remove_DisallowTCP_from <span class="pl-smi">$i</span><span class="pl-k">;</span></td>
- </tr>
- <tr>
- <td id="L104" class="blob-num js-line-number" data-line-number="104"></td>
- <td id="LC104" class="blob-code blob-code-inner js-file-line"> remove_nolisten_X_or_startx_actuals_from <span class="pl-smi">$i</span><span class="pl-k">;</span></td>
- </tr>
- <tr>
- <td id="L105" class="blob-num js-line-number" data-line-number="105"></td>
- <td id="LC105" class="blob-code blob-code-inner js-file-line">} <span class="pl-k">||</span> <span class="pl-c1">true</span></td>
- </tr>
- <tr>
- <td id="L106" class="blob-num js-line-number" data-line-number="106"></td>
- <td id="LC106" class="blob-code blob-code-inner js-file-line">diff -q <span class="pl-smi">$BACKUP</span> <span class="pl-smi">$i</span> <span class="pl-k">&gt;</span>/dev/null <span class="pl-k">||</span> {</td>
- </tr>
- <tr>
- <td id="L107" class="blob-num js-line-number" data-line-number="107"></td>
- <td id="LC107" class="blob-code blob-code-inner js-file-line">CHANGED_FILES+=<span class="pl-s"><span class="pl-pds">&quot;</span><span class="pl-smi">$i</span> <span class="pl-pds">&quot;</span></span></td>
- </tr>
- <tr>
- <td id="L108" class="blob-num js-line-number" data-line-number="108"></td>
- <td id="LC108" class="blob-code blob-code-inner js-file-line"> }</td>
- </tr>
- <tr>
- <td id="L109" class="blob-num js-line-number" data-line-number="109"></td>
- <td id="LC109" class="blob-code blob-code-inner js-file-line">}</td>
- </tr>
- <tr>
- <td id="L110" class="blob-num js-line-number" data-line-number="110"></td>
- <td id="LC110" class="blob-code blob-code-inner js-file-line">
-</td>
- </tr>
- <tr>
- <td id="L111" class="blob-num js-line-number" data-line-number="111"></td>
- <td id="LC111" class="blob-code blob-code-inner js-file-line"><span class="pl-k">function</span> <span class="pl-en">adjust_X_display_manager</span> {</td>
- </tr>
- <tr>
- <td id="L112" class="blob-num js-line-number" data-line-number="112"></td>
- <td id="LC112" class="blob-code blob-code-inner js-file-line"><span class="pl-c"># global SUDO_OR_NOTHING CHANGED_FILES</span></td>
- </tr>
- <tr>
- <td id="L113" class="blob-num js-line-number" data-line-number="113"></td>
- <td id="LC113" class="blob-code blob-code-inner js-file-line"><span class="pl-k">local</span> BACKUP=<span class="pl-s"><span class="pl-pds">$(</span>tmpfile<span class="pl-pds">)</span></span></td>
- </tr>
- <tr>
- <td id="L114" class="blob-num js-line-number" data-line-number="114"></td>
- <td id="LC114" class="blob-code blob-code-inner js-file-line">DIRS=<span class="pl-s"><span class="pl-pds">$(</span><span class="pl-smi">$SUDO_OR_NOTHING</span> find /etc/ -type d -name <span class="pl-s"><span class="pl-pds">&quot;</span>?dm<span class="pl-pds">&quot;</span></span><span class="pl-pds">)</span></span></td>
- </tr>
- <tr>
- <td id="L115" class="blob-num js-line-number" data-line-number="115"></td>
- <td id="LC115" class="blob-code blob-code-inner js-file-line"><span class="pl-k">if</span> [[ <span class="pl-k">-d</span> /etc/X11/xinit ]]<span class="pl-k">;</span> <span class="pl-k">then</span> DIRS+=<span class="pl-s"><span class="pl-pds">&quot;</span> /etc/X11/xinit/<span class="pl-pds">&quot;</span></span><span class="pl-k">;</span> <span class="pl-k">fi</span></td>
- </tr>
- <tr>
- <td id="L116" class="blob-num js-line-number" data-line-number="116"></td>
- <td id="LC116" class="blob-code blob-code-inner js-file-line">FILES=<span class="pl-s"><span class="pl-pds">$(</span>[[ <span class="pl-k">-n</span> <span class="pl-smi">$DIRS</span> ]] <span class="pl-k">&amp;&amp;</span> <span class="pl-smi">$SUDO_OR_NOTHING</span> find <span class="pl-smi">$DIRS</span> -name <span class="pl-s"><span class="pl-pds">&quot;</span>*rc<span class="pl-pds">&quot;</span></span> -o -name <span class="pl-s"><span class="pl-pds">&quot;</span>*.conf<span class="pl-pds">&quot;</span></span><span class="pl-pds">)</span></span></td>
- </tr>
- <tr>
- <td id="L117" class="blob-num js-line-number" data-line-number="117"></td>
- <td id="LC117" class="blob-code blob-code-inner js-file-line">FILES=<span class="pl-s"><span class="pl-pds">$(</span><span class="pl-k">for</span> <span class="pl-smi">i</span> <span class="pl-k">in</span> <span class="pl-smi">$FILES</span><span class="pl-k">;</span> <span class="pl-k">do</span> grep -l <span class="pl-s"><span class="pl-pds">&quot;</span>^[a-zA-Z0-9/_\-= ]*[-]nolisten tcp<span class="pl-pds">&quot;</span></span> <span class="pl-smi">$i</span><span class="pl-k">;</span> <span class="pl-k">done</span><span class="pl-pds">)</span></span></td>
- </tr>
- <tr>
- <td id="L118" class="blob-num js-line-number" data-line-number="118"></td>
- <td id="LC118" class="blob-code blob-code-inner js-file-line"><span class="pl-k">for</span> <span class="pl-smi">i</span> <span class="pl-k">in</span> <span class="pl-smi">$FILES</span><span class="pl-k">;</span> <span class="pl-k">do</span> apply_all_filters <span class="pl-smi">$i</span><span class="pl-k">;</span> <span class="pl-k">done</span></td>
- </tr>
- <tr>
- <td id="L119" class="blob-num js-line-number" data-line-number="119"></td>
- <td id="LC119" class="blob-code blob-code-inner js-file-line">rm -f <span class="pl-smi">$BACKUP</span></td>
- </tr>
- <tr>
- <td id="L120" class="blob-num js-line-number" data-line-number="120"></td>
- <td id="LC120" class="blob-code blob-code-inner js-file-line"><span class="pl-c"># A special case: gdm/gdm3 :</span></td>
- </tr>
- <tr>
- <td id="L121" class="blob-num js-line-number" data-line-number="121"></td>
- <td id="LC121" class="blob-code blob-code-inner js-file-line"><span class="pl-k">if</span> [[ <span class="pl-k">-d</span> /etc/gdm ]]<span class="pl-k">;</span> <span class="pl-k">then</span></td>
- </tr>
- <tr>
- <td id="L122" class="blob-num js-line-number" data-line-number="122"></td>
- <td id="LC122" class="blob-code blob-code-inner js-file-line"> <span class="pl-smi">$SUDO_OR_NOTHING</span> touch /etc/gdm/custom.conf</td>
- </tr>
- <tr>
- <td id="L123" class="blob-num js-line-number" data-line-number="123"></td>
- <td id="LC123" class="blob-code blob-code-inner js-file-line"> ensure_DisallowTCP_false_to_gdm_custom_dot_conf</td>
- </tr>
- <tr>
- <td id="L124" class="blob-num js-line-number" data-line-number="124"></td>
- <td id="LC124" class="blob-code blob-code-inner js-file-line"><span class="pl-k">elif</span> [[ <span class="pl-k">-d</span> /etc/gdm<span class="pl-k">?</span> ]]<span class="pl-k">;</span> <span class="pl-k">then</span></td>
- </tr>
- <tr>
- <td id="L125" class="blob-num js-line-number" data-line-number="125"></td>
- <td id="LC125" class="blob-code blob-code-inner js-file-line"> <span class="pl-smi">$SUDO_OR_NOTHING</span> touch /etc/gdm<span class="pl-k">?</span>/custom.conf /etc/gdm<span class="pl-k">?</span>/daemon.conf</td>
- </tr>
- <tr>
- <td id="L126" class="blob-num js-line-number" data-line-number="126"></td>
- <td id="LC126" class="blob-code blob-code-inner js-file-line"> ensure_DisallowTCP_false_to_gdm_custom_dot_conf /etc/gdm<span class="pl-k">?</span>/custom.conf</td>
- </tr>
- <tr>
- <td id="L127" class="blob-num js-line-number" data-line-number="127"></td>
- <td id="LC127" class="blob-code blob-code-inner js-file-line"> ensure_DisallowTCP_false_to_gdm_custom_dot_conf /etc/gdm<span class="pl-k">?</span>/daemon.conf</td>
- </tr>
- <tr>
- <td id="L128" class="blob-num js-line-number" data-line-number="128"></td>
- <td id="LC128" class="blob-code blob-code-inner js-file-line"><span class="pl-k">fi</span></td>
- </tr>
- <tr>
- <td id="L129" class="blob-num js-line-number" data-line-number="129"></td>
- <td id="LC129" class="blob-code blob-code-inner js-file-line"><span class="pl-c"># Another special case: lightdm</span></td>
- </tr>
- <tr>
- <td id="L130" class="blob-num js-line-number" data-line-number="130"></td>
- <td id="LC130" class="blob-code blob-code-inner js-file-line"><span class="pl-k">if</span> [[ <span class="pl-k">-d</span> /etc/lightdm ]]<span class="pl-k">;</span> <span class="pl-k">then</span></td>
- </tr>
- <tr>
- <td id="L131" class="blob-num js-line-number" data-line-number="131"></td>
- <td id="LC131" class="blob-code blob-code-inner js-file-line"> <span class="pl-smi">$SUDO_OR_NOTHING</span> touch /etc/lightdm/lightdm.conf</td>
- </tr>
- <tr>
- <td id="L132" class="blob-num js-line-number" data-line-number="132"></td>
- <td id="LC132" class="blob-code blob-code-inner js-file-line"> ensure_xserver_allow_tcp_in_lightdm_dot_conf</td>
- </tr>
- <tr>
- <td id="L133" class="blob-num js-line-number" data-line-number="133"></td>
- <td id="LC133" class="blob-code blob-code-inner js-file-line"><span class="pl-k">fi</span></td>
- </tr>
- <tr>
- <td id="L134" class="blob-num js-line-number" data-line-number="134"></td>
- <td id="LC134" class="blob-code blob-code-inner js-file-line">[[ <span class="pl-k">-n</span> <span class="pl-smi">$CHANGED_FILES</span> ]]</td>
- </tr>
- <tr>
- <td id="L135" class="blob-num js-line-number" data-line-number="135"></td>
- <td id="LC135" class="blob-code blob-code-inner js-file-line">}</td>
- </tr>
- <tr>
- <td id="L136" class="blob-num js-line-number" data-line-number="136"></td>
- <td id="LC136" class="blob-code blob-code-inner js-file-line">
-</td>
- </tr>
- <tr>
- <td id="L137" class="blob-num js-line-number" data-line-number="137"></td>
- <td id="LC137" class="blob-code blob-code-inner js-file-line"><span class="pl-k">if</span> ps -A -o cmd <span class="pl-k">|</span> grep -q <span class="pl-s"><span class="pl-pds">&#39;</span>^[a-zA-Z0-9/]*X.*[-]nolisten tcp<span class="pl-pds">&#39;</span></span><span class="pl-k">;</span> <span class="pl-k">then</span></td>
- </tr>
- <tr>
- <td id="L138" class="blob-num js-line-number" data-line-number="138"></td>
- <td id="LC138" class="blob-code blob-code-inner js-file-line"> <span class="pl-c1">echo</span> -e <span class="pl-s"><span class="pl-pds">&quot;</span>\n---<span class="pl-pds">&quot;</span></span></td>
- </tr>
- <tr>
- <td id="L139" class="blob-num js-line-number" data-line-number="139"></td>
- <td id="LC139" class="blob-code blob-code-inner js-file-line"> <span class="pl-c1">echo</span> <span class="pl-s"><span class="pl-pds">&quot;</span>=============================================================<span class="pl-pds">&quot;</span></span></td>
- </tr>
- <tr>
- <td id="L140" class="blob-num js-line-number" data-line-number="140"></td>
- <td id="LC140" class="blob-code blob-code-inner js-file-line"> <span class="pl-c1">echo</span> <span class="pl-s"><span class="pl-pds">&quot;</span> Warning readme<span class="pl-pds">&quot;</span></span></td>
- </tr>
- <tr>
- <td id="L141" class="blob-num js-line-number" data-line-number="141"></td>
- <td id="LC141" class="blob-code blob-code-inner js-file-line"> <span class="pl-c1">echo</span> <span class="pl-s"><span class="pl-pds">&quot;</span> Warning readme<span class="pl-pds">&quot;</span></span></td>
- </tr>
- <tr>
- <td id="L142" class="blob-num js-line-number" data-line-number="142"></td>
- <td id="LC142" class="blob-code blob-code-inner js-file-line"> <span class="pl-c1">echo</span> <span class="pl-s"><span class="pl-pds">&quot;</span>=============================================================<span class="pl-pds">&quot;</span></span></td>
- </tr>
- <tr>
- <td id="L143" class="blob-num js-line-number" data-line-number="143"></td>
- <td id="LC143" class="blob-code blob-code-inner js-file-line"> <span class="pl-c1">echo</span> <span class="pl-s"><span class="pl-pds">&quot;</span>* Warning: your X server has been launched with the option &#39;-nolisten tcp&#39;<span class="pl-pds">&quot;</span></span></td>
- </tr>
- <tr>
- <td id="L144" class="blob-num js-line-number" data-line-number="144"></td>
- <td id="LC144" class="blob-code blob-code-inner js-file-line"> <span class="pl-c1">echo</span> <span class="pl-s"><span class="pl-pds">&quot;</span> =&gt; This option should be removed from your X display manager configuration.<span class="pl-pds">&quot;</span></span></td>
- </tr>
- <tr>
- <td id="L145" class="blob-num js-line-number" data-line-number="145"></td>
- <td id="LC145" class="blob-code blob-code-inner js-file-line"> <span class="pl-c1">echo</span> -n <span class="pl-s"><span class="pl-pds">&quot;</span> Shall I try to fix it ([y]/n)? <span class="pl-pds">&quot;</span></span></td>
- </tr>
- <tr>
- <td id="L146" class="blob-num js-line-number" data-line-number="146"></td>
- <td id="LC146" class="blob-code blob-code-inner js-file-line"> <span class="pl-c1">read</span> z</td>
- </tr>
- <tr>
- <td id="L147" class="blob-num js-line-number" data-line-number="147"></td>
- <td id="LC147" class="blob-code blob-code-inner js-file-line"> <span class="pl-k">if</span> [[ <span class="pl-smi">$z</span> <span class="pl-k">!=</span> n <span class="pl-k">&amp;&amp;</span> <span class="pl-smi">$z</span> <span class="pl-k">!=</span> N ]]<span class="pl-k">;</span> <span class="pl-k">then</span></td>
- </tr>
- <tr>
- <td id="L148" class="blob-num js-line-number" data-line-number="148"></td>
- <td id="LC148" class="blob-code blob-code-inner js-file-line"> <span class="pl-k">if</span> adjust_X_display_manager<span class="pl-k">;</span> <span class="pl-k">then</span></td>
- </tr>
- <tr>
- <td id="L149" class="blob-num js-line-number" data-line-number="149"></td>
- <td id="LC149" class="blob-code blob-code-inner js-file-line"> <span class="pl-c1">echo</span> <span class="pl-s"><span class="pl-pds">&quot;</span> Ok. File(s) changed: <span class="pl-smi">$CHANGED_FILES</span><span class="pl-pds">&quot;</span></span></td>
- </tr>
- <tr>
- <td id="L150" class="blob-num js-line-number" data-line-number="150"></td>
- <td id="LC150" class="blob-code blob-code-inner js-file-line"> <span class="pl-c1">echo</span> <span class="pl-s"><span class="pl-pds">&quot;</span> You must restart your X display manager for the changes to take effect.<span class="pl-pds">&quot;</span></span></td>
- </tr>
- <tr>
- <td id="L151" class="blob-num js-line-number" data-line-number="151"></td>
- <td id="LC151" class="blob-code blob-code-inner js-file-line"> <span class="pl-k">else</span></td>
- </tr>
- <tr>
- <td id="L152" class="blob-num js-line-number" data-line-number="152"></td>
- <td id="LC152" class="blob-code blob-code-inner js-file-line"> <span class="pl-c1">echo</span> <span class="pl-s"><span class="pl-pds">&quot;</span> Sorry, no change performed: you must edit your configuration manually.<span class="pl-pds">&quot;</span></span></td>
- </tr>
- <tr>
- <td id="L153" class="blob-num js-line-number" data-line-number="153"></td>
- <td id="LC153" class="blob-code blob-code-inner js-file-line"> <span class="pl-k">fi</span></td>
- </tr>
- <tr>
- <td id="L154" class="blob-num js-line-number" data-line-number="154"></td>
- <td id="LC154" class="blob-code blob-code-inner js-file-line"> <span class="pl-k">fi</span></td>
- </tr>
- <tr>
- <td id="L155" class="blob-num js-line-number" data-line-number="155"></td>
- <td id="LC155" class="blob-code blob-code-inner js-file-line"><span class="pl-k">else</span></td>
- </tr>
- <tr>
- <td id="L156" class="blob-num js-line-number" data-line-number="156"></td>
- <td id="LC156" class="blob-code blob-code-inner js-file-line"> <span class="pl-c1">echo</span> -e <span class="pl-s"><span class="pl-pds">&quot;</span>\n* Your X server hasn&#39;t been launched with the option <span class="pl-cce">\</span></span></td>
- </tr>
- <tr>
- <td id="L157" class="blob-num js-line-number" data-line-number="157"></td>
- <td id="LC157" class="blob-code blob-code-inner js-file-line"><span class="pl-s"> &#39;-nolisten tcp&#39; : good.<span class="pl-pds">&quot;</span></span></td>
- </tr>
- <tr>
- <td id="L158" class="blob-num js-line-number" data-line-number="158"></td>
- <td id="LC158" class="blob-code blob-code-inner js-file-line"><span class="pl-k">fi</span></td>
- </tr>
- <tr>
- <td id="L159" class="blob-num js-line-number" data-line-number="159"></td>
- <td id="LC159" class="blob-code blob-code-inner js-file-line">
-</td>
- </tr>
- <tr>
- <td id="L160" class="blob-num js-line-number" data-line-number="160"></td>
- <td id="LC160" class="blob-code blob-code-inner js-file-line"><span class="pl-c"># =============================================================</span></td>
- </tr>
- <tr>
- <td id="L161" class="blob-num js-line-number" data-line-number="161"></td>
- <td id="LC161" class="blob-code blob-code-inner js-file-line"><span class="pl-c"># Daemon information</span></td>
- </tr>
- <tr>
- <td id="L162" class="blob-num js-line-number" data-line-number="162"></td>
- <td id="LC162" class="blob-code blob-code-inner js-file-line"><span class="pl-c"># =============================================================</span></td>
- </tr>
- <tr>
- <td id="L163" class="blob-num js-line-number" data-line-number="163"></td>
- <td id="LC163" class="blob-code blob-code-inner js-file-line">
-</td>
- </tr>
- <tr>
- <td id="L164" class="blob-num js-line-number" data-line-number="164"></td>
- <td id="LC164" class="blob-code blob-code-inner js-file-line"><span class="pl-c1">echo</span> <span class="pl-s"><span class="pl-pds">&quot;</span>\n=============================================================<span class="pl-pds">&quot;</span></span></td>
- </tr>
- <tr>
- <td id="L165" class="blob-num js-line-number" data-line-number="165"></td>
- <td id="LC165" class="blob-code blob-code-inner js-file-line"><span class="pl-c1">echo</span> <span class="pl-s"><span class="pl-pds">&quot;</span> Daemon information <span class="pl-pds">&quot;</span></span></td>
- </tr>
- <tr>
- <td id="L166" class="blob-num js-line-number" data-line-number="166"></td>
- <td id="LC166" class="blob-code blob-code-inner js-file-line"><span class="pl-c1">echo</span> <span class="pl-s"><span class="pl-pds">&quot;</span>=============================================================<span class="pl-pds">&quot;</span></span></td>
- </tr>
- <tr>
- <td id="L167" class="blob-num js-line-number" data-line-number="167"></td>
- <td id="LC167" class="blob-code blob-code-inner js-file-line">
-</td>
- </tr>
- <tr>
- <td id="L168" class="blob-num js-line-number" data-line-number="168"></td>
- <td id="LC168" class="blob-code blob-code-inner js-file-line"><span class="pl-c1">echo</span> -e <span class="pl-s"><span class="pl-pds">&quot;</span>\n* Before start Marionnet, you must start the daemon :<span class="pl-pds">&quot;</span></span></td>
- </tr>
- <tr>
- <td id="L169" class="blob-num js-line-number" data-line-number="169"></td>
- <td id="LC169" class="blob-code blob-code-inner js-file-line"><span class="pl-c1">echo</span> <span class="pl-s"><span class="pl-pds">&quot;</span>sudo systemctl start marionnetdaemon.service<span class="pl-pds">&quot;</span></span></td>
- </tr>
- <tr>
- <td id="L170" class="blob-num js-line-number" data-line-number="170"></td>
- <td id="LC170" class="blob-code blob-code-inner js-file-line">
-</td>
- </tr>
- <tr>
- <td id="L171" class="blob-num js-line-number" data-line-number="171"></td>
- <td id="LC171" class="blob-code blob-code-inner js-file-line"><span class="pl-c"># =============================================================</span></td>
- </tr>
- <tr>
- <td id="L172" class="blob-num js-line-number" data-line-number="172"></td>
- <td id="LC172" class="blob-code blob-code-inner js-file-line"><span class="pl-c"># Install marionnet_kernels and filesystems</span></td>
- </tr>
- <tr>
- <td id="L173" class="blob-num js-line-number" data-line-number="173"></td>
- <td id="LC173" class="blob-code blob-code-inner js-file-line"><span class="pl-c"># =============================================================</span></td>
- </tr>
- <tr>
- <td id="L174" class="blob-num js-line-number" data-line-number="174"></td>
- <td id="LC174" class="blob-code blob-code-inner js-file-line">
-</td>
- </tr>
- <tr>
- <td id="L175" class="blob-num js-line-number" data-line-number="175"></td>
- <td id="LC175" class="blob-code blob-code-inner js-file-line"><span class="pl-c1">echo</span> <span class="pl-s"><span class="pl-pds">&quot;</span>\n=============================================================<span class="pl-pds">&quot;</span></span></td>
- </tr>
- <tr>
- <td id="L176" class="blob-num js-line-number" data-line-number="176"></td>
- <td id="LC176" class="blob-code blob-code-inner js-file-line"><span class="pl-c1">echo</span> <span class="pl-s"><span class="pl-pds">&quot;</span> Downlading <span class="pl-pds">&quot;</span></span></td>
- </tr>
- <tr>
- <td id="L177" class="blob-num js-line-number" data-line-number="177"></td>
- <td id="LC177" class="blob-code blob-code-inner js-file-line"><span class="pl-c1">echo</span> <span class="pl-s"><span class="pl-pds">&quot;</span>=============================================================<span class="pl-pds">&quot;</span></span></td>
- </tr>
- <tr>
- <td id="L178" class="blob-num js-line-number" data-line-number="178"></td>
- <td id="LC178" class="blob-code blob-code-inner js-file-line">
-</td>
- </tr>
- <tr>
- <td id="L179" class="blob-num js-line-number" data-line-number="179"></td>
- <td id="LC179" class="blob-code blob-code-inner js-file-line"><span class="pl-c1">echo</span> <span class="pl-s"><span class="pl-pds">&quot;</span>\n* Downloading script marionnet_from_scratch : <span class="pl-pds">&quot;</span></span></td>
- </tr>
- <tr>
- <td id="L180" class="blob-num js-line-number" data-line-number="180"></td>
- <td id="LC180" class="blob-code blob-code-inner js-file-line">wget http://www.marionnet.org/downloads/marionnet_from_scratch/marionnet_from_scratch</td>
- </tr>
- <tr>
- <td id="L181" class="blob-num js-line-number" data-line-number="181"></td>
- <td id="LC181" class="blob-code blob-code-inner js-file-line"><span class="pl-c1">echo</span> <span class="pl-s"><span class="pl-pds">&quot;</span>* Downlading and installing Marionnet kernels and filesystems (Linux <span class="pl-cce">\</span></span></td>
- </tr>
- <tr>
- <td id="L182" class="blob-num js-line-number" data-line-number="182"></td>
- <td id="LC182" class="blob-code blob-code-inner js-file-line"><span class="pl-s">distributions Debian Lenny, Mandriva, Pinocchio, etc.)<span class="pl-pds">&quot;</span></span></td>
- </tr>
- <tr>
- <td id="L183" class="blob-num js-line-number" data-line-number="183"></td>
- <td id="LC183" class="blob-code blob-code-inner js-file-line"><span class="pl-c1">echo</span> -e <span class="pl-s"><span class="pl-pds">&quot;</span>* Warning! this process may take several hours!<span class="pl-pds">&quot;</span></span></td>
- </tr>
- <tr>
- <td id="L184" class="blob-num js-line-number" data-line-number="184"></td>
- <td id="LC184" class="blob-code blob-code-inner js-file-line"><span class="pl-c1">echo</span> -e <span class="pl-s"><span class="pl-pds">&quot;</span>* Command : <span class="pl-cce">\`</span>./marionnet_from_scratch --download-only -m trunk <span class="pl-cce">\</span></span></td>
- </tr>
- <tr>
- <td id="L185" class="blob-num js-line-number" data-line-number="185"></td>
- <td id="LC185" class="blob-code blob-code-inner js-file-line"><span class="pl-s">--prefix /usr<span class="pl-cce">\`</span><span class="pl-pds">&quot;</span></span></td>
- </tr>
- <tr>
- <td id="L186" class="blob-num js-line-number" data-line-number="186"></td>
- <td id="LC186" class="blob-code blob-code-inner js-file-line">chmod +x ./marionnet_from_scratch</td>
- </tr>
- <tr>
- <td id="L187" class="blob-num js-line-number" data-line-number="187"></td>
- <td id="LC187" class="blob-code blob-code-inner js-file-line">./marionnet_from_scratch --download-only -m trunk --prefix /usr</td>
- </tr>
- <tr>
- <td id="L188" class="blob-num js-line-number" data-line-number="188"></td>
- <td id="LC188" class="blob-code blob-code-inner js-file-line">
-</td>
- </tr>
- <tr>
- <td id="L189" class="blob-num js-line-number" data-line-number="189"></td>
- <td id="LC189" class="blob-code blob-code-inner js-file-line">
-</td>
- </tr>
- <tr>
- <td id="L190" class="blob-num js-line-number" data-line-number="190"></td>
- <td id="LC190" class="blob-code blob-code-inner js-file-line">
-</td>
- </tr>
- <tr>
- <td id="L191" class="blob-num js-line-number" data-line-number="191"></td>
- <td id="LC191" class="blob-code blob-code-inner js-file-line">
-</td>
- </tr>
- <tr>
- <td id="L192" class="blob-num js-line-number" data-line-number="192"></td>
- <td id="LC192" class="blob-code blob-code-inner js-file-line"><span class="pl-c1">echo</span> <span class="pl-s"><span class="pl-pds">&quot;</span>* Post installation completed———\n\n\n<span class="pl-pds">&quot;</span></span></td>
- </tr>
- <tr>
- <td id="L193" class="blob-num js-line-number" data-line-number="193"></td>
- <td id="LC193" class="blob-code blob-code-inner js-file-line">
-</td>
- </tr>
- <tr>
- <td id="L194" class="blob-num js-line-number" data-line-number="194"></td>
- <td id="LC194" class="blob-code blob-code-inner js-file-line">}</td>
- </tr>
- <tr>
- <td id="L195" class="blob-num js-line-number" data-line-number="195"></td>
- <td id="LC195" class="blob-code blob-code-inner js-file-line">
-</td>
- </tr>
- <tr>
- <td id="L196" class="blob-num js-line-number" data-line-number="196"></td>
- <td id="LC196" class="blob-code blob-code-inner js-file-line"><span class="pl-en">post_remove</span>() {</td>
- </tr>
- <tr>
- <td id="L197" class="blob-num js-line-number" data-line-number="197"></td>
- <td id="LC197" class="blob-code blob-code-inner js-file-line"><span class="pl-c1">echo</span> -e <span class="pl-s"><span class="pl-pds">&quot;</span>* Uninstallation process completed\n\n<span class="pl-pds">&quot;</span></span></td>
- </tr>
- <tr>
- <td id="L198" class="blob-num js-line-number" data-line-number="198"></td>
- <td id="LC198" class="blob-code blob-code-inner js-file-line">
-</td>
- </tr>
- <tr>
- <td id="L199" class="blob-num js-line-number" data-line-number="199"></td>
- <td id="LC199" class="blob-code blob-code-inner js-file-line"><span class="pl-c1">echo</span> -e <span class="pl-s"><span class="pl-pds">&quot;</span>Post remove hook<span class="pl-pds">&quot;</span></span></td>
- </tr>
- <tr>
- <td id="L200" class="blob-num js-line-number" data-line-number="200"></td>
- <td id="LC200" class="blob-code blob-code-inner js-file-line"><span class="pl-c1">echo</span> -e <span class="pl-s"><span class="pl-pds">&quot;</span>——————————————————————\n<span class="pl-pds">&quot;</span></span></td>
- </tr>
- <tr>
- <td id="L201" class="blob-num js-line-number" data-line-number="201"></td>
- <td id="LC201" class="blob-code blob-code-inner js-file-line"><span class="pl-c1">echo</span> <span class="pl-s"><span class="pl-pds">&quot;</span>* Erasing Marionnet kernels files<span class="pl-pds">&quot;</span></span></td>
- </tr>
- <tr>
- <td id="L202" class="blob-num js-line-number" data-line-number="202"></td>
- <td id="LC202" class="blob-code blob-code-inner js-file-line"> rm -Rf /usr/share/marionnet</td>
- </tr>
- <tr>
- <td id="L203" class="blob-num js-line-number" data-line-number="203"></td>
- <td id="LC203" class="blob-code blob-code-inner js-file-line"><span class="pl-c1">echo</span> <span class="pl-s"><span class="pl-pds">&quot;</span>Success...<span class="pl-pds">&quot;</span></span></td>
- </tr>
- <tr>
- <td id="L204" class="blob-num js-line-number" data-line-number="204"></td>
- <td id="LC204" class="blob-code blob-code-inner js-file-line">}</td>
- </tr>
- <tr>
- <td id="L205" class="blob-num js-line-number" data-line-number="205"></td>
- <td id="LC205" class="blob-code blob-code-inner js-file-line">
-</td>
- </tr>
- <tr>
- <td id="L206" class="blob-num js-line-number" data-line-number="206"></td>
- <td id="LC206" class="blob-code blob-code-inner js-file-line">
-</td>
- </tr>
- <tr>
- <td id="L207" class="blob-num js-line-number" data-line-number="207"></td>
- <td id="LC207" class="blob-code blob-code-inner js-file-line">
-</td>
- </tr>
- <tr>
- <td id="L208" class="blob-num js-line-number" data-line-number="208"></td>
- <td id="LC208" class="blob-code blob-code-inner js-file-line">
-</td>
- </tr>
- <tr>
- <td id="L209" class="blob-num js-line-number" data-line-number="209"></td>
- <td id="LC209" class="blob-code blob-code-inner js-file-line"><span class="pl-c"># vim: ft=sh</span></td>
- </tr>
-</table>
-
- </div>
-
-</div>
-
-<button type="button" data-facebox="#jump-to-line" data-facebox-class="linejump" data-hotkey="l" class="hidden">Jump to Line</button>
-<div id="jump-to-line" style="display:none">
- <!-- </textarea> --><!-- '"` --><form accept-charset="UTF-8" action="" class="js-jump-to-line-form" method="get"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="&#x2713;" /></div>
- <input class="form-control linejump-input js-jump-to-line-field" type="text" placeholder="Jump to line&hellip;" aria-label="Jump to line" autofocus>
- <button type="submit" class="btn">Go</button>
-</form></div>
-
- </div>
- <div class="modal-backdrop"></div>
-</div>
-
-
- </div>
- </div>
-
- </div>
-
- <div class="container site-footer-container">
- <div class="site-footer" role="contentinfo">
- <ul class="site-footer-links right">
- <li><a href="https://status.github.com/" data-ga-click="Footer, go to status, text:status">Status</a></li>
- <li><a href="https://developer.github.com" data-ga-click="Footer, go to api, text:api">API</a></li>
- <li><a href="https://training.github.com" data-ga-click="Footer, go to training, text:training">Training</a></li>
- <li><a href="https://shop.github.com" data-ga-click="Footer, go to shop, text:shop">Shop</a></li>
- <li><a href="https://github.com/blog" data-ga-click="Footer, go to blog, text:blog">Blog</a></li>
- <li><a href="https://github.com/about" data-ga-click="Footer, go to about, text:about">About</a></li>
-
- </ul>
-
- <a href="https://github.com" aria-label="Homepage" class="site-footer-mark" title="GitHub">
- <svg aria-hidden="true" class="octicon octicon-mark-github" height="24" version="1.1" viewBox="0 0 16 16" width="24"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59 0.4 0.07 0.55-0.17 0.55-0.38 0-0.19-0.01-0.82-0.01-1.49-2.01 0.37-2.53-0.49-2.69-0.94-0.09-0.23-0.48-0.94-0.82-1.13-0.28-0.15-0.68-0.52-0.01-0.53 0.63-0.01 1.08 0.58 1.23 0.82 0.72 1.21 1.87 0.87 2.33 0.66 0.07-0.52 0.28-0.87 0.51-1.07-1.78-0.2-3.64-0.89-3.64-3.95 0-0.87 0.31-1.59 0.82-2.15-0.08-0.2-0.36-1.02 0.08-2.12 0 0 0.67-0.21 2.2 0.82 0.64-0.18 1.32-0.27 2-0.27 0.68 0 1.36 0.09 2 0.27 1.53-1.04 2.2-0.82 2.2-0.82 0.44 1.1 0.16 1.92 0.08 2.12 0.51 0.56 0.82 1.27 0.82 2.15 0 3.07-1.87 3.75-3.65 3.95 0.29 0.25 0.54 0.73 0.54 1.48 0 1.07-0.01 1.93-0.01 2.2 0 0.21 0.15 0.46 0.55 0.38C13.71 14.53 16 11.53 16 8 16 3.58 12.42 0 8 0z"></path></svg>
-</a>
- <ul class="site-footer-links">
- <li>&copy; 2016 <span title="0.05028s from github-fe126-cp1-prd.iad.github.net">GitHub</span>, Inc.</li>
- <li><a href="https://github.com/site/terms" data-ga-click="Footer, go to terms, text:terms">Terms</a></li>
- <li><a href="https://github.com/site/privacy" data-ga-click="Footer, go to privacy, text:privacy">Privacy</a></li>
- <li><a href="https://github.com/security" data-ga-click="Footer, go to security, text:security">Security</a></li>
- <li><a href="https://github.com/contact" data-ga-click="Footer, go to contact, text:contact">Contact</a></li>
- <li><a href="https://help.github.com" data-ga-click="Footer, go to help, text:help">Help</a></li>
- </ul>
- </div>
-</div>
-
-
-
-
-
- <div id="ajax-error-message" class="ajax-error-message flash flash-error">
- <svg aria-hidden="true" class="octicon octicon-alert" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path d="M15.72 12.5l-6.85-11.98C8.69 0.21 8.36 0.02 8 0.02s-0.69 0.19-0.87 0.5l-6.85 11.98c-0.18 0.31-0.18 0.69 0 1C0.47 13.81 0.8 14 1.15 14h13.7c0.36 0 0.69-0.19 0.86-0.5S15.89 12.81 15.72 12.5zM9 12H7V10h2V12zM9 9H7V5h2V9z"></path></svg>
- <button type="button" class="flash-close js-flash-close js-ajax-error-dismiss" aria-label="Dismiss error">
- <svg aria-hidden="true" class="octicon octicon-x" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path d="M7.48 8l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75-1.48-1.48 3.75-3.75L0.77 4.25l1.48-1.48 3.75 3.75 3.75-3.75 1.48 1.48-3.75 3.75z"></path></svg>
- </button>
- Something went wrong with that request. Please try again.
- </div>
-
-
- <script crossorigin="anonymous" src="https://assets-cdn.github.com/assets/compat-7db58f8b7b91111107fac755dd8b178fe7db0f209ced51fc339c446ad3f8da2b.js"></script>
- <script crossorigin="anonymous" src="https://assets-cdn.github.com/assets/frameworks-ea5bbb2a837377ffde53e1099e5909c8df4d36cc5e90c05aeb3694b157df7e4d.js"></script>
- <script async="async" crossorigin="anonymous" src="https://assets-cdn.github.com/assets/github-391829145dbc07158dde112aa636b7ac8b58f7726527ce710bd56118ae1d2f57.js"></script>
-
-
-
-
-
-
- <div class="js-stale-session-flash stale-session-flash flash flash-warn flash-banner hidden">
- <svg aria-hidden="true" class="octicon octicon-alert" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path d="M15.72 12.5l-6.85-11.98C8.69 0.21 8.36 0.02 8 0.02s-0.69 0.19-0.87 0.5l-6.85 11.98c-0.18 0.31-0.18 0.69 0 1C0.47 13.81 0.8 14 1.15 14h13.7c0.36 0 0.69-0.19 0.86-0.5S15.89 12.81 15.72 12.5zM9 12H7V10h2V12zM9 9H7V5h2V9z"></path></svg>
- <span class="signed-in-tab-flash">You signed in with another tab or window. <a href="">Reload</a> to refresh your session.</span>
- <span class="signed-out-tab-flash">You signed out in another tab or window. <a href="">Reload</a> to refresh your session.</span>
- </div>
- <div class="facebox" id="facebox" style="display:none;">
- <div class="facebox-popup">
- <div class="facebox-content" role="dialog" aria-labelledby="facebox-header" aria-describedby="facebox-description">
- </div>
- <button type="button" class="facebox-close js-facebox-close" aria-label="Close modal">
- <svg aria-hidden="true" class="octicon octicon-x" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path d="M7.48 8l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75-1.48-1.48 3.75-3.75L0.77 4.25l1.48-1.48 3.75 3.75 3.75-3.75 1.48 1.48-3.75 3.75z"></path></svg>
- </button>
- </div>
-</div>
-
- </body>
-</html>
-
+# Adapted from :
+# http://bazaar.launchpad.net/~marionnet-drivers/marionnet/trunk/view/head:/useful-scripts/marionnet_from_scratch
+# (LGPL)
+
+post_install () {
+
+echo -e "* Marionnet installation completed\n\n"
+
+echo -e "Post installation hook"
+echo -e "——————————————————————\n"
+
+# =============================================================
+# Adjust X -nolisten tcp
+# =============================================================
+
+# Here $SUDO_OR_NOTHING is null
+tmpfile=$(mktemp /tmp/marionnetInstallTmpXXXXXXX)
+
+function remove_nolisten_assignment_from {
+# global SUDO_OR_NOTHING
+local i=$1
+$SUDO_OR_NOTHING sed -i -e 's/\(^[a-ZA-Z0-9]*[=].*[-]nolisten tcp.*\)$/#\1\n\1/g' $i
+$SUDO_OR_NOTHING sed -i -e 's/\(^[a-ZA-Z0-9]*[=].*\)[-]nolisten tcp\(.*\)$/\1 \2/g' $i
+}
+
+function remove_nolisten_X_or_startx_actuals_from {
+# global SUDO_OR_NOTHING
+local i=$1
+$SUDO_OR_NOTHING sed -i -e 's/\(^[a-ZA-Z0-9/: ]*X.*\)[-]nolisten tcp\(.*\)$/\1\2/g' $i
+$SUDO_OR_NOTHING sed -i -e 's/\(^[a-ZA-Z0-9/: ]*startx.*\)[-]nolisten tcp\(.*\)$/\1\2/g' $i
+}
+
+function remove_DisallowTCP_from {
+# global SUDO_OR_NOTHING
+local i=$1
+$SUDO_OR_NOTHING sed -i -e 's/\(^DisallowTCP=true.*\)$/#\1\nDisallowTCP=false/g' $i
+}
+
+# Sections in file have the form "[security]"
+function ensure_section_and_binding {
+[[ $# -ge 3 ]] || return 1
+local SECTION=$1 # ex: security
+local VARIABLE=$2 # ex: Enable
+local VALUE=$3 # ex: true
+local AWK_PROGRAM
+shift 3
+AWK_PROGRAM="
+BEGIN {x=0}
+/\[$SECTION\]/ {x=1;print;next}
+(x==1) && /$VARIABLE=.*/ {print \"$VARIABLE=$VALUE\"; x=2; next}
+(x==1) && /\[.*\]/ {print \"$VARIABLE=$VALUE\n\"; print; x=2; next}
+/\[.*\]/ {print;next}
+{print}
+ END {if (x==0) print \"[$SECTION]\"; if (x==0 || x==1) print \"$VARIABLE=$VALUE\n\";}"
+ case $# in
+ 0) awk "$AWK_PROGRAM" ;;
+ *)
+ local i
+ local TMPFILE=$(tmpfile)
+ for i in "$@"; do
+ awk 0<"$i" 1>$TMPFILE "$AWK_PROGRAM"
+ cat $TMPFILE 1>"$i"
+ done
+ rm $TMPFILE
+ ;;
+ esac
+}
+
+# This is needed, for instance, for ubuntu 10.10
+function ensure_DisallowTCP_false_to_gdm_custom_dot_conf {
+# global SUDO_OR_NOTHING CHANGED_FILES
+local custom=${1:-/etc/gdm/custom.conf}
+local TMPFILE=$(tmpfile)
+cp $custom $TMPFILE
+ensure_section_and_binding "security" "DisallowTCP" "false" $TMPFILE
+ensure_section_and_binding "xdmcp" "Enable" "true" $TMPFILE
+if ! diff -q $custom $TMPFILE >/dev/null; then
+ CHANGED_FILES+="$custom "
+ $SUDO_OR_NOTHING bash -c "cat $TMPFILE >$custom"
+fi
+}
+
+# This is needed, for instance, for ubuntu 12.04
+function ensure_xserver_allow_tcp_in_lightdm_dot_conf {
+# global SUDO_OR_NOTHING CHANGED_FILES
+local custom=${1:-/etc/lightdm/lightdm.conf}
+local TMPFILE=$(tmpfile)
+cp $custom $TMPFILE
+ensure_section_and_binding "SeatDefaults" "xserver-allow-tcp" "true" $TMPFILE
+if ! diff -q $custom $TMPFILE >/dev/null; then
+ CHANGED_FILES+="$custom "
+ $SUDO_OR_NOTHING bash -c "cat $TMPFILE >$custom"
+fi
+}
+
+
+function apply_all_filters {
+# global CHANGED_FILES
+local i=$1
+cat $i > $BACKUP
+{ remove_nolisten_assignment_from $i;
+ remove_DisallowTCP_from $i;
+ remove_nolisten_X_or_startx_actuals_from $i;
+} || true
+diff -q $BACKUP $i >/dev/null || {
+CHANGED_FILES+="$i "
+ }
+}
+
+function adjust_X_display_manager {
+# global SUDO_OR_NOTHING CHANGED_FILES
+local BACKUP=$(tmpfile)
+DIRS=$($SUDO_OR_NOTHING find /etc/ -type d -name "?dm")
+if [[ -d /etc/X11/xinit ]]; then DIRS+=" /etc/X11/xinit/"; fi
+FILES=$([[ -n $DIRS ]] && $SUDO_OR_NOTHING find $DIRS -name "*rc" -o -name "*.conf")
+FILES=$(for i in $FILES; do grep -l "^[a-zA-Z0-9/_\-= ]*[-]nolisten tcp" $i; done)
+for i in $FILES; do apply_all_filters $i; done
+rm -f $BACKUP
+# A special case: gdm/gdm3 :
+if [[ -d /etc/gdm ]]; then
+ $SUDO_OR_NOTHING touch /etc/gdm/custom.conf
+ ensure_DisallowTCP_false_to_gdm_custom_dot_conf
+elif [[ -d /etc/gdm? ]]; then
+ $SUDO_OR_NOTHING touch /etc/gdm?/custom.conf /etc/gdm?/daemon.conf
+ ensure_DisallowTCP_false_to_gdm_custom_dot_conf /etc/gdm?/custom.conf
+ ensure_DisallowTCP_false_to_gdm_custom_dot_conf /etc/gdm?/daemon.conf
+fi
+# Another special case: lightdm
+if [[ -d /etc/lightdm ]]; then
+ $SUDO_OR_NOTHING touch /etc/lightdm/lightdm.conf
+ ensure_xserver_allow_tcp_in_lightdm_dot_conf
+fi
+[[ -n $CHANGED_FILES ]]
+}
+
+if ps -A -o cmd | grep -q '^[a-zA-Z0-9/]*X.*[-]nolisten tcp'; then
+ echo -e "\n---"
+ echo "============================================================="
+ echo " Warning readme"
+ echo " Warning readme"
+ echo "============================================================="
+ echo "* Warning: your X server has been launched with the option '-nolisten tcp'"
+ echo " => This option should be removed from your X display manager configuration."
+ echo -n " Shall I try to fix it ([y]/n)? "
+ read z
+ if [[ $z != n && $z != N ]]; then
+ if adjust_X_display_manager; then
+ echo " Ok. File(s) changed: $CHANGED_FILES"
+ echo " You must restart your X display manager for the changes to take effect."
+ else
+ echo " Sorry, no change performed: you must edit your configuration manually."
+ fi
+ fi
+else
+ echo -e "\n* Your X server hasn't been launched with the option \
+ '-nolisten tcp' : good."
+fi
+
+# =============================================================
+# Daemon information
+# =============================================================
+
+echo "\n============================================================="
+echo " Daemon information "
+echo "============================================================="
+
+echo -e "\n* Before start Marionnet, you must start the daemon :"
+echo "sudo systemctl start marionnetdaemon.service"
+
+# =============================================================
+# Install marionnet_kernels and filesystems
+# =============================================================
+
+echo "\n============================================================="
+echo " Downlading "
+echo "============================================================="
+
+echo "\n* Downloading script marionnet_from_scratch : "
+wget http://www.marionnet.org/downloads/marionnet_from_scratch/marionnet_from_scratch
+echo "* Downlading and installing Marionnet kernels and filesystems (Linux \
+distributions Debian Lenny, Mandriva, Pinocchio, etc.)"
+echo -e "* Warning! this process may take several hours!"
+chmod u+x ./numberOfStepsPassedForDownloadMarionnetFilesystems.tmp
+./numberOfStepsPassedForDownloadMarionnetFilesystems.tmp -m trunk --prefix /usr/share/marionnet
+
+
+
+
+echo "* Post installation completed———\n\n\n"
+
+}
+
+post_remove() {
+echo -e "* Uninstallation process completed\n\n"
+
+echo -e "Post remove hook"
+echo -e "——————————————————————\n"
+echo "* Erasing Marionnet kernels files"
+ rm -Rf /usr/share/marionnet
+echo "Success..."
+}
+
+
+
+
+# vim: ft=sh
diff --git a/marionnet.install b/marionnet.install
deleted file mode 100644
index 174572910ad..00000000000
--- a/marionnet.install
+++ /dev/null
@@ -1,207 +0,0 @@
-
-# Adapted from :
-# http://bazaar.launchpad.net/~marionnet-drivers/marionnet/trunk/view/head:/useful-scripts/marionnet_from_scratch
-# (LGPL)
-
-post_install () {
-
-echo -e "* Marionnet installation completed\n\n"
-
-echo -e "Post installation hook"
-echo -e "——————————————————————\n"
-
-# =============================================================
-# Adjust X -nolisten tcp
-# =============================================================
-
-# Here $SUDO_OR_NOTHING is null
-tmpfile=$(mktemp /tmp/marionnetInstallTmpXXXXXXX)
-
-function remove_nolisten_assignment_from {
-# global SUDO_OR_NOTHING
-local i=$1
-$SUDO_OR_NOTHING sed -i -e 's/\(^[a-ZA-Z0-9]*[=].*[-]nolisten tcp.*\)$/#\1\n\1/g' $i
-$SUDO_OR_NOTHING sed -i -e 's/\(^[a-ZA-Z0-9]*[=].*\)[-]nolisten tcp\(.*\)$/\1 \2/g' $i
-}
-
-function remove_nolisten_X_or_startx_actuals_from {
-# global SUDO_OR_NOTHING
-local i=$1
-$SUDO_OR_NOTHING sed -i -e 's/\(^[a-ZA-Z0-9/: ]*X.*\)[-]nolisten tcp\(.*\)$/\1\2/g' $i
-$SUDO_OR_NOTHING sed -i -e 's/\(^[a-ZA-Z0-9/: ]*startx.*\)[-]nolisten tcp\(.*\)$/\1\2/g' $i
-}
-
-function remove_DisallowTCP_from {
-# global SUDO_OR_NOTHING
-local i=$1
-$SUDO_OR_NOTHING sed -i -e 's/\(^DisallowTCP=true.*\)$/#\1\nDisallowTCP=false/g' $i
-}
-
-# Sections in file have the form "[security]"
-function ensure_section_and_binding {
-[[ $# -ge 3 ]] || return 1
-local SECTION=$1 # ex: security
-local VARIABLE=$2 # ex: Enable
-local VALUE=$3 # ex: true
-local AWK_PROGRAM
-shift 3
-AWK_PROGRAM="
-BEGIN {x=0}
-/\[$SECTION\]/ {x=1;print;next}
-(x==1) && /$VARIABLE=.*/ {print \"$VARIABLE=$VALUE\"; x=2; next}
-(x==1) && /\[.*\]/ {print \"$VARIABLE=$VALUE\n\"; print; x=2; next}
-/\[.*\]/ {print;next}
-{print}
- END {if (x==0) print \"[$SECTION]\"; if (x==0 || x==1) print \"$VARIABLE=$VALUE\n\";}"
- case $# in
- 0) awk "$AWK_PROGRAM" ;;
- *)
- local i
- local TMPFILE=$(tmpfile)
- for i in "$@"; do
- awk 0<"$i" 1>$TMPFILE "$AWK_PROGRAM"
- cat $TMPFILE 1>"$i"
- done
- rm $TMPFILE
- ;;
- esac
-}
-
-# This is needed, for instance, for ubuntu 10.10
-function ensure_DisallowTCP_false_to_gdm_custom_dot_conf {
-# global SUDO_OR_NOTHING CHANGED_FILES
-local custom=${1:-/etc/gdm/custom.conf}
-local TMPFILE=$(tmpfile)
-cp $custom $TMPFILE
-ensure_section_and_binding "security" "DisallowTCP" "false" $TMPFILE
-ensure_section_and_binding "xdmcp" "Enable" "true" $TMPFILE
-if ! diff -q $custom $TMPFILE >/dev/null; then
- CHANGED_FILES+="$custom "
- $SUDO_OR_NOTHING bash -c "cat $TMPFILE >$custom"
-fi
-}
-
-# This is needed, for instance, for ubuntu 12.04
-function ensure_xserver_allow_tcp_in_lightdm_dot_conf {
-# global SUDO_OR_NOTHING CHANGED_FILES
-local custom=${1:-/etc/lightdm/lightdm.conf}
-local TMPFILE=$(tmpfile)
-cp $custom $TMPFILE
-ensure_section_and_binding "SeatDefaults" "xserver-allow-tcp" "true" $TMPFILE
-if ! diff -q $custom $TMPFILE >/dev/null; then
- CHANGED_FILES+="$custom "
- $SUDO_OR_NOTHING bash -c "cat $TMPFILE >$custom"
-fi
-}
-
-
-function apply_all_filters {
-# global CHANGED_FILES
-local i=$1
-cat $i > $BACKUP
-{ remove_nolisten_assignment_from $i;
- remove_DisallowTCP_from $i;
- remove_nolisten_X_or_startx_actuals_from $i;
-} || true
-diff -q $BACKUP $i >/dev/null || {
-CHANGED_FILES+="$i "
- }
-}
-
-function adjust_X_display_manager {
-# global SUDO_OR_NOTHING CHANGED_FILES
-local BACKUP=$(tmpfile)
-DIRS=$($SUDO_OR_NOTHING find /etc/ -type d -name "?dm")
-if [[ -d /etc/X11/xinit ]]; then DIRS+=" /etc/X11/xinit/"; fi
-FILES=$([[ -n $DIRS ]] && $SUDO_OR_NOTHING find $DIRS -name "*rc" -o -name "*.conf")
-FILES=$(for i in $FILES; do grep -l "^[a-zA-Z0-9/_\-= ]*[-]nolisten tcp" $i; done)
-for i in $FILES; do apply_all_filters $i; done
-rm -f $BACKUP
-# A special case: gdm/gdm3 :
-if [[ -d /etc/gdm ]]; then
- $SUDO_OR_NOTHING touch /etc/gdm/custom.conf
- ensure_DisallowTCP_false_to_gdm_custom_dot_conf
-elif [[ -d /etc/gdm? ]]; then
- $SUDO_OR_NOTHING touch /etc/gdm?/custom.conf /etc/gdm?/daemon.conf
- ensure_DisallowTCP_false_to_gdm_custom_dot_conf /etc/gdm?/custom.conf
- ensure_DisallowTCP_false_to_gdm_custom_dot_conf /etc/gdm?/daemon.conf
-fi
-# Another special case: lightdm
-if [[ -d /etc/lightdm ]]; then
- $SUDO_OR_NOTHING touch /etc/lightdm/lightdm.conf
- ensure_xserver_allow_tcp_in_lightdm_dot_conf
-fi
-[[ -n $CHANGED_FILES ]]
-}
-
-if ps -A -o cmd | grep -q '^[a-zA-Z0-9/]*X.*[-]nolisten tcp'; then
- echo -e "\n---"
- echo "============================================================="
- echo " Warning readme"
- echo " Warning readme"
- echo "============================================================="
- echo "* Warning: your X server has been launched with the option '-nolisten tcp'"
- echo " => This option should be removed from your X display manager configuration."
- echo -n " Shall I try to fix it ([y]/n)? "
- read z
- if [[ $z != n && $z != N ]]; then
- if adjust_X_display_manager; then
- echo " Ok. File(s) changed: $CHANGED_FILES"
- echo " You must restart your X display manager for the changes to take effect."
- else
- echo " Sorry, no change performed: you must edit your configuration manually."
- fi
- fi
-else
- echo -e "\n* Your X server hasn't been launched with the option \
- '-nolisten tcp' : good."
-fi
-
-# =============================================================
-# Daemon information
-# =============================================================
-
-echo "\n============================================================="
-echo " Daemon information "
-echo "============================================================="
-
-echo -e "\n* Before start Marionnet, you must start the daemon :"
-echo "sudo systemctl start marionnetdaemon.service"
-
-# =============================================================
-# Install marionnet_kernels and filesystems
-# =============================================================
-
-echo "\n============================================================="
-echo " Downlading "
-echo "============================================================="
-
-echo "\n* Downloading script marionnet_from_scratch : "
-wget http://www.marionnet.org/downloads/marionnet_from_scratch/marionnet_from_scratch
-echo "* Downlading and installing Marionnet kernels and filesystems (Linux \
-distributions Debian Lenny, Mandriva, Pinocchio, etc.)"
-echo -e "* Warning! this process may take several hours!"
-chmod u+x ./numberOfStepsPassedForDownloadMarionnetFilesystems.tmp
-./numberOfStepsPassedForDownloadMarionnetFilesystems.tmp -m trunk --prefix /usr/share/marionnet
-
-
-
-
-echo "* Post installation completed———\n\n\n"
-
-}
-
-post_remove() {
-echo -e "* Uninstallation process completed\n\n"
-
-echo -e "Post remove hook"
-echo -e "——————————————————————\n"
-echo "* Erasing Marionnet kernels files"
- rm -Rf /usr/share/marionnet
-echo "Success..."
-}
-
-
-
-
-# vim: ft=sh