Ubuntu 20.04LTS - rc.local 활성화
·
Linux
Ubuntu 20.04LTS 버전 rc.local 활성화 (root 권한 필요) rc.local 상태 확인 # systemctl status rc-local.service ● rc-local.service - /etc/rc.local Compatibility Loaded: loaded (/lib/systemd/system/rc-local.service; static; vendor preset: enabled) Drop-In: /usr/lib/systemd/system/rc-local.service.d └─debian.conf Active: inactive (dead) Docs: man:systemd-rc-local-generator(8) rc.local 파일 생성 # echo -e "#! /bin/bas..