Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Chakra
Packages
core
Commits
e0666dc8
Commit
e0666dc8
authored
Mar 09, 2013
by
abveritas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adjusting systemd.install warning
parent
5c6116c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
+10
-8
systemd/systemd.install
systemd/systemd.install
+10
-8
No files found.
systemd/systemd.install
View file @
e0666dc8
...
...
@@ -18,14 +18,16 @@ post_upgrade() {
journalctl
--
update
-
catalog
echo
-
e
'\e[31;46m WARNING'
echo
-
e
'\e[31;46m Systemd 197 has moved to persistent network naming, for most users this will have'
echo
-
e
'\e[31;46m no effect. To check what the new name for your network device will be, run:'
echo
-
e
'\e[31;46m hwinfo --network, and look for: Device File: xxxxx, were xxxx is your device.'
echo
-
e
'\e[31;46m This will be used in /usr/lib/udev/rules.d/80-net-name-slot.rules '
echo
-
e
'\e[31;46m If you use dhcpcd instead of networkmanager to connect, re-enable the service before rebooting'
echo
-
e
'\e[31;46m Configuration files like conky.conf will need the new naming scheme too'
echo
-
e
'\e[31;46m http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames \e[0m'
if
[
"$(pacman -Q systemd | cut -d "
" -f2 | cut -d "
-
" -f1)"
=
"196"
]
;
then
echo
-
e
'\e[31;46m WARNING'
echo
-
e
'\e[31;46m Systemd 197 has moved to persistent network naming, for most users this will have'
echo
-
e
'\e[31;46m no effect. To check what the new name for your network device will be, run:'
echo
-
e
'\e[31;46m hwinfo --network, and look for: Device File: xxxxx, were xxxx is your device.'
echo
-
e
'\e[31;46m This will be used in /usr/lib/udev/rules.d/80-net-name-slot.rules '
echo
-
e
'\e[31;46m If you use dhcpcd instead of networkmanager to connect, re-enable the service before rebooting'
echo
-
e
'\e[31;46m Configuration files like conky.conf will need the new naming scheme too'
echo
-
e
'\e[31;46m http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames \e[0m'
fi
if
sd_booted
;
then
systemctl
--
system
daemon
-
reexec
...
...
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