11.Nas_1


새창 작성 수정 목록 링크 Edit G카랜다 HDD HDD HDD 게시물 주소 복사


[시놀리지] 부팅시 자동 실행 스크립트 경로(자료 펌)

♨ 카랜더 일정 :
  • 링크

  • 첨부

  • 컨텐츠 정보

    본문

    자료 펌)

    \r\n

    http://m.assayo.com/board_view.html?board=forum_nas&pid=11287

    \r\n

     

    \r\n

    리눅스에서 흔히들 /etc/rc.local 을 만들어서 사용하시죠?

    시놀리지에서 위의 경로로 사용해 보니 동작하지 않아서 검색해 보았더니

    /usr/syno/etc/rc.d 에 원하는 스크립트를 S99파일.sh 를 넣고
    chmod 700 S99파일명.sh 을 해주면 리부팅시마다 처리된다고 합니다.

    이거 설정을 몇달째 안해놔서 가끔 부팅할때마다 /root 에 넣어둔 스크립트를 실행하고 있었네요

    아래 출처의 내용도 옮겨두었는데 저 같은 경우는 다른 폴더는 안되고 /usr/syno/etc/rc.d/S99파일명.sh 이것만 되더라구요

    ----------------------------------------------
    http://forum.synology.com/enu/viewtopic.php?f=77&t=51025

    On startup post-edit, scripts run in this order:
    1. /usr/local/etc/rc.d/S[00->99]scriptname.sh start
    These are all of the Synology Scripts.

    2. /etc/rc.optware start (executed by rc.local)
    This script mounts your /opt with your /volume1/@optware

    3. /usr/local/etc/rc.d/optware.sh start (executed by unknown syno script)
    This now rechecks your mounts on startup, and executes /opt/etc/rc.optware start.

    4. /opt/etc/rc.optware start (executed by /usr/local/etc/rc.d/optware.sh)
    This executes a /opt/etc/init.d/S[00->99]scriptname.sh start

    5. /opt/etc/init.d/S[00->99]scriptname.sh start (executed by /opt/etc/rc.optware)
    This is where optware packages will install their startup scripts. This is the correct place.

    On shutdown, scripts run in this order:
    1. /usr/local/etc/rc.d/optware.sh stop (executed by unknown syno script)
    This script does some logging on umount, then executes /opt/etc/rc.optware stop.

    2. /opt/etc/rc.optware stop (executed by /usr/local/etc/rc.d/optware.sh)
    This executes a /opt/etc/init.d/K[00->99]scriptname.sh stop

    3. /opt/etc/init.d/K[00->99]scriptname.sh stop (executed by /opt/etc/rc.optware)
    This is where optware packages will install their shutdown scripts.

    4. /usr/syno/etc/rc.d/S[00->99]scriptname.sh stop 
    These are all of the Synology Scripts. 

    \r\n

     

    ♠ shimss home 는 컴퓨터자료 windows10, server 2012 2016 r2 xpenology WinPE 헤/시놀로지 NAS 그누보드 아미나,APMS 모바일 pc 홈페이지 일상생활 을 위하여 정보를 찾아 공유 합니다.♠ 출처는 링크 참조 바랍니다.♠ https://11q.kr.com https://11q.kr https://11q.kr http://33.iptime.org
    [ 추가 정보 ... 더보기) ]
    뷰PDF 1,2



    office view

    관련자료

    댓글목록

    등록된 댓글이 없습니다.

    목록

    새창 작성 수정 목록 링크 Edit G카랜다 HDD HDD HDD 게시물 주소 복사




    Total 1,675 / 83 Page
    [ POWERBUTTON_6.2-0002.SPK ]

    POWERBUTTON_6.2-0002.SPKhttps://www39.zippyshare.com/v/R3ftOA3X/file.html파일을 요청했…

    [ termux횔용)안드로이드에 sudo 설치 su tsu ]

    안드로이드 termux에 sudo 설치https://mutsinzi.com/installing-sudo-on-android/안드로이드 기기에서 …

    [ tvheadend 유저 로그인후 한글메뉴가 나오지 않을때 ]

    tvheadend 유저 로그인후 한글메뉴가 나오지 않을때epg 그래머 모듈이 보이는 아이디가 superser로 생성 했습니다이때 한글이 나오지 …

    [ 글보기시 상단 메뉴 새창으로 내용수정하기 글보기 나가기 > 목록으로 메뉴 추가 ]

    글보기시 상단 메뉴 새창으로 내용수정하기 글보기 나가기 > 목록으로 메뉴 추가<!-- 공유용 새창으로 내용수정하기 목록 버튼 시작 -…

    [ 쉴드 영입) 오늘 드디어 쉴드 영입 하여 사용 소감입니다 ]

    쉴드 영입) 오늘 드디어 쉴드 영입 하여 사용 소감입니다총평) 정말 대단한 쉴드 제품으로 사용자 환경입니다 다른 제품에서 보지 못한 환경 설정입…

    [ 성공)synology sj** install ] 댓글 1

    성공)synology SJ** install#synology SJ** install #사전 확장 플러그인 설치 #https://soju6jan.…

    [ termux의 Apache2 Ubuntu 에 설치 url 서비스 설정 하기 ]

    termux의 Apache2 Ubuntu 에 설치 url 서비스 설정 하기Ubuntu버전 확인cat /etc/issue하기 링크 참조하여 작업 …

    [ CarPc-Carbon-K18-master_11qkr_20201022.1.zip 스마트폰용 스킨입니다 ] 댓글 1

    CarPc-Carbon-K18-master_11qkr_20201022.1.zip 스마트폰용 스킨입니다네이버m.cafe.naver.com카페 km…

    [ plex connect 플렉스코디커넥트 (PKC) ]

    플렉스코디커넥트 (PKC)croneter/PlexKodiConnect최고의 프론트 엔드 미디어 플레이어 코디와 최고의 멀티미디어 백엔드 서버 플…

    [ ● DS file(Android) 로 시놀로지서버에 스마트폰 모든 사진백업 ]

    ●DS file(Android) 로 시놀로지서버에 스마트폰 모든 사진백업준비)QuickConnect ID , id, 암호 확인 준비동작) 로그인…

    [ ● 시놀로지 MariaDB cpu 점유 사용 접속내용 확인 명령어 ]

    ● 시놀로지 MariaDB cpu 점유 사용 접속내용 확인 명령어[processlist]mysql> show processlist;또는 콘…


    ♥간단_메모글♥


    최근글


    새댓글



    PHP 안에 HTML ☞ 홈페이지 화면갱신 시간은 ♨
    ▶ 2024-06-25 14:22:50

    오늘의 홈 현황


    • 현재 접속자♨ 616(1) 명
    • 오늘 가입자※ 2 명
    • 어제 가입자※ 0 명
    • 주간 가입자※ 11 명
    • 오늘 방문자 1,397 명
    • 어제 방문자 1,287 명
    • 최대 방문자 13,042 명
    • 전체 방문자 4,393,953 명
    • 전체 게시물※ 8,653 개
    • 전체 댓글수※ 24,770 개
    • 전체 회원수 11,068 명

    QR코드


    ☞ QR코드 스캔은 kakao앱 자체 QR코드

    알림 0








    최신글↑