Added dhcpcd

This commit is contained in:
TuDatTr
2020-05-24 05:43:40 +02:00
parent 6bf1035784
commit fe3e3eb5ee
3 changed files with 4 additions and 4 deletions

View File

@@ -114,3 +114,4 @@ options rw cryptdevice=$(blkid $rootpart | cut -d" " -f2 | tr -d \"):cryptroot r
sed -i "s/march-reboot.sh/\0 -u \"$username\" -s \"$sudogrp\"/" /etc/systemd/system/march.service
systemctl enable march.service
systemctl enable dhcpcd.service

View File

@@ -7,8 +7,8 @@ if [[ ${PIPESTATUS[0]} -ne 4 ]]; then
exit 1
fi
OPTIONS=us
LONGOPTS=username,sudogrp
OPTIONS=u:s:
LONGOPTS=username:,sudogrp:
! PARSED=$(getopt --options=$OPTIONS --longoptions=$LONGOPTS --name "$0" -- "$@")
if [[ ${PIPESTATUS[0]} -ne 0 ]]; then