Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
6
66
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eric Vidal
66
Commits
d50598f2
Commit
d50598f2
authored
5 years ago
by
Eric Vidal
Browse files
Options
Downloads
Patches
Plain Diff
add skeleton
parent
ca3f3086
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
skel/boot.conf
+9
-0
9 additions, 0 deletions
skel/boot.conf
skel/ishell
+6
-0
6 additions, 0 deletions
skel/ishell
skel/rc.init
+22
-0
22 additions, 0 deletions
skel/rc.init
skel/rc.shutdown
+12
-0
12 additions, 0 deletions
skel/rc.shutdown
with
49 additions
and
0 deletions
skel/boot.conf
0 → 100644
+
9
−
0
View file @
d50598f2
VERBOSITY
=
0
LIVE
=/
run
/
66
PATH
=/
usr
/
bin
:/
usr
/
sbin
:/
bin
:/
sbin
:/
usr
/
local
/
bin
TREE
=
boot
RCINIT
=/
etc
/
66
/
rc
.
init
RCSHUTDOWN
=/
etc
/
66
/
rc
.
shutdown
UMASK
=
0022
RESCAN
=
0
ISHELL
=/
etc
/
66
/
ishell
This diff is collapsed.
Click to expand it.
skel/ishell
0 → 100755
+
6
−
0
View file @
d50598f2
#!@BINDIR@/sh -e
exec
0>/dev/console
exec
1>/dev/console
exec
2>&1
echo
"trying to run a sulogin command"
exec
s6-setsid
-q
--
sulogin
This diff is collapsed.
Click to expand it.
skel/rc.init
0 → 100755
+
22
−
0
View file @
d50598f2
#!@BINDIR@/sh -e
## It's the responsability of the sysadmin to properly define
## the configuration file. By default /etc/66/boot.conf or
## instructed by 66-boot via the -f option.
CONF
=
"
$1
"
source
"
$conf
"
echo
[
Starting stage2 process ...] 1>/dev/console
# initiate the database service
echo
[
Initiate db of tree
${
TREE
}
]
66-init
-v
${
VERBOSITY
}
-l
${
LIVE
}
-t
${
TREE
}
database
||
{
echo
"rc.init: fatal: please see the log at
${
LIVE
}
/log/0/current"
;
${
ISHELL
}
;
exit
111
;
}
# start the database service
echo
[
Start db services of tree
${
TREE
}
]
66-dbctl
-v
${
VERBOSITY
}
-l
${
LIVE
}
-t
${
TREE
}
-u
||
{
echo
"rc.init: fatal: please see the log at
${
LIVE
}
/log/0/current"
;
${
ISHELL
}
;
exit
111
;
}
This diff is collapsed.
Click to expand it.
skel/rc.shutdown
0 → 100755
+
12
−
0
View file @
d50598f2
#!@BINDIR@/sh -e
## It's the responsability of the sysadmin to properly define
## the configuration file. By default /etc/66/boot.conf or
## instructed by 66-boot via the -f option.
CONF
=
"
$1
"
source
"
$conf
"
echo
[
Starting rc.shutdown process ...]
echo
[
Stop all services of tree
${
TREE
}
]
66-all
-v
${
VERBOSITY
}
-l
${
LIVE
}
-t
${
TREE
}
-f
down
||
exit
111
echo
[
rc.shutdown completed successfully]
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment