Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Config
Commits
8a468652
Commit
8a468652
authored
May 26, 2017
by
Igor Pecovnik
Browse files
Force installing stock config. Don't stop ...
parent
c3ac02bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
debian-config
View file @
8a468652
...
@@ -400,7 +400,7 @@ while true; do
...
@@ -400,7 +400,7 @@ while true; do
[[
$?
=
0
]]
&&
overlayroot-chroot
sed
-i
"s/^overlayroot=.*/overlayroot=
\"\"
/"
/etc/overlayroot.conf
&&
\
[[
$?
=
0
]]
&&
overlayroot-chroot
sed
-i
"s/^overlayroot=.*/overlayroot=
\"\"
/"
/etc/overlayroot.conf
&&
\
overlayroot-chroot
rm
/etc/update-motd.d/97-overlayroot
&&
reboot
overlayroot-chroot
rm
/etc/update-motd.d/97-overlayroot
&&
reboot
else
else
debconf-apt-progress
--
apt-get
-y
--no-install-recommends
install
overlayroot
debconf-apt-progress
--
apt-get
-o
Dpkg::Options::
=
"--force-confnew"
-y
--no-install-recommends
install
overlayroot
echo
'#!/bin/bash'
>
/etc/update-motd.d/97-overlayroot
echo
'#!/bin/bash'
>
/etc/update-motd.d/97-overlayroot
echo
'if [ -n "$(mount | grep -w tmpfs-root)" ]; then echo -e "[\e[0m \e[1mremember: root is in virtual read only mode\e[0m ]";fi'
>>
/etc/update-motd.d/97-overlayroot
echo
'if [ -n "$(mount | grep -w tmpfs-root)" ]; then echo -e "[\e[0m \e[1mremember: root is in virtual read only mode\e[0m ]";fi'
>>
/etc/update-motd.d/97-overlayroot
dialog
--title
"Root overlay"
--backtitle
"
$BACKTITLE
"
--yes-label
"Reboot"
\
dialog
--title
"Root overlay"
--backtitle
"
$BACKTITLE
"
--yes-label
"Reboot"
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment