List of commits:
Subject Hash Author Date (UTC)
use a real life sysstart 28421b744d0937334e1e0254dff39f45e7d4480d Sylvain BERTRAND 2015-01-20 17:44:51
remove some bash-ism 688ff57cfe8077c235a5ec485ba6b72b0d066dc4 Sylvain BERTRAND 2015-01-07 00:39:53
add some examples 4c3c939272dde88eee1242955d1a7832612d4bbb Sylvain BERTRAND 2014-12-08 17:29:16
Initial commit c72c14065b547486a05ade1b5975e3a1deaf9d18 Sylvain BERTRAND 2014-12-08 15:27:00
Commit 28421b744d0937334e1e0254dff39f45e7d4480d - use a real life sysstart
Author: Sylvain BERTRAND
Author date (UTC): 2015-01-20 17:44
Committer name: Sylvain BERTRAND
Committer date (UTC): 2015-01-20 17:44
Parent(s): 688ff57cfe8077c235a5ec485ba6b72b0d066dc4
Signing key:
Tree: e3c96cd1d39dbe35ab9af512998ede16c4d359b4
File Lines added Lines deleted
script/sysstart 23 17
File script/sysstart changed (mode: 100755) (index a325ab5..26e3333)
2 2 export PATH=/sbin:/bin:/usr/sbin:/usr/bin export PATH=/sbin:/bin:/usr/sbin:/usr/bin
3 3
4 4 mount -o nosuid,nodev,noexec,relatime -t proc proc /proc mount -o nosuid,nodev,noexec,relatime -t proc proc /proc
5 #for mount utils
6 ln -sf /proc/self/mounts /etc/mtab
5 7 mount -o nosuid,nodev,noexec,relatime -t sysfs sysfs /sys mount -o nosuid,nodev,noexec,relatime -t sysfs sysfs /sys
6 8
7 9 #------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
8 10 #mount /dev #mount /dev
9 11 mount -o exec,nosuid,relatime,size=10M,mode=0755 -t devtmpfs udev /dev mount -o exec,nosuid,relatime,size=10M,mode=0755 -t devtmpfs udev /dev
12 #syslog-ng is going amok, but still /dev/log is mandatory to many software
13 ln -sf null /dev/log
10 14
11 15 mkdir -m 0755 -p /dev/pts mkdir -m 0755 -p /dev/pts
12 16 mount -o relatime,gid=5,mode=0620 -t devpts devpts /dev/pts mount -o relatime,gid=5,mode=0620 -t devpts devpts /dev/pts
 
... ... mount -o nosuid,nodev,noexec,relatime -t tmpfs shm /dev/shm
16 20 #------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
17 21
18 22 mount -o nosuid,nodev,relatime,mode=0755 -t tmpfs tmpfs /run mount -o nosuid,nodev,relatime,mode=0755 -t tmpfs tmpfs /run
19 rm -Rf /tmp/*
20 rm -Rf /tmp/.?*
21 hostname "amddev"
23
24 rm -Rf /tmp
25 mkdir /tmp
26 chmod 1777 /tmp
27 #set the default hostname in linux compilation
28 #hostname "amddev"
22 29
23 30 #------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
24 31 #mudev #mudev
25 32 modprobe unix modprobe unix
26 rm -Rf /run/udev
27 echo "" >/sys/kernel/uevent_helper
28 33 udevd --daemon udevd --daemon
34
29 35 udevadm trigger --type=subsystems --action=add udevadm trigger --type=subsystems --action=add
30 36 udevadm trigger --type=devices --action=add udevadm trigger --type=devices --action=add
31 37
 
... ... hwclock --utc --hctosys
71 77 #------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
72 78
73 79 #------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
74 #utmp/wtmp (I don't even use that stuff anymore, just for reference)
75 : >/var/run/utmp
76 chgrp utmp /var/run/utmp 2>/dev/null
77 chmod 0664 /var/run/utmp
78 if test ! -e /var/log/wtmp; then
79 : >/var/log/wtmp
80 chgrp utmp /var/log/wtmp 2>/dev/null
81 chmod 0664 /var/log/wtmp
82 fi
80 ##utmp/wtmp (I don't even use that stuff anymore, just for reference)
81 #: >/var/run/utmp
82 #chgrp utmp /var/run/utmp 2>/dev/null
83 #chmod 0664 /var/run/utmp
84 #if test ! -e /var/log/wtmp; then
85 # : >/var/log/wtmp
86 # chgrp utmp /var/log/wtmp 2>/dev/null
87 # chmod 0664 /var/log/wtmp
88 #fi
83 89 #------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
84 90
85 91 #------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
86 syslog-ng &
92 #syslog-ng &
87 93 chronyd & chronyd &
88 /usr/libexec/fcron &
89 /usr/sbin/sshd &
94 #/usr/libexec/fcron &
95 #/usr/sbin/sshd &
90 96 #------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/sylware/muinit

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/sylware/muinit

Clone this repository using git:
git clone git://git.rocketgit.com/user/sylware/muinit

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main