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 / 60 Page
    [ 시스템 파티션이 충돌합니다" 이 문구 문의 드립니다. ]

    시스템 파티션이 충돌합니다" 이 문구 문의 드립니다.◎ ■ ▶ ☞ ♠ 정보찾아 공유 드리며 출처는 링크 참조 바랍니다. https://11q.k…

    [ 실패)시놀로지 usb와 web 폴더 마운트 홈페이지 설치하기 ]

    시놀로지 usb와 web 폴더 마운트 홈페이지 설치하기volume1의 저장 폴더가 작을때 usb 외장하드/das의 연결 상태로 외장하드에 web…

    [ .htaccess를 사용하여 도메인을 하위 디렉터리로 리디렉션시키기 ]

    .htaccess를 사용하여 도메인을 하위 디렉터리로 리디렉션시키기.htaccess를 사용하여 메인 도메인 URL을 하위 디렉터리로 리디렉션시킬…

    [ U+리모컨 BT 리매핑 방법 및 keymapping 저장 위치 lguplus ] 댓글 10

    U+리모컨 BT 리매핑 방법 및 keymapping 저장 위치U+리모컨 리매핑 방법https://cafe.naver.com/mk802/32947…

    [ 나노에디터 활용 ) 커셔 위치 /etc/nanorc에서 # set const를 찾아서 주석 기호를 제거하면 … ]

    나노에디터 활용 ) 커셔 위치 /etc/nanorc에서 # set const를 찾아서 주석 기호를 제거하면 항상 커서 위치의 라인 번호가 표시됩…

    [ 바비 바크 / 다이아몬드 빌드 레포 ]

    바비 바크/다이아몬드 빌드 레포https://github.com/bobbybark/diamond-build-repo/find/master■ ▶ …

    [ 반디컷 사용방법 ]

    반디컷 사용방법https://www.bandicam.co.kr/bandicut-video-cutter/support/tutorial/반디컷 프로…

    [ k***e wavve 채널 시청 성공 )GT-KING-PRO에 coreelec docker 설치 조건에 s… ] 댓글 7

    GT-KING-PRO에 coreelec docker 설치및 SJ**, 설치 후기도커 설치는설정-애드온-저장소에서 설치-모든 저장소-서비스-도커 …

    [ tvheadend 빌드하여 설치 하기/ 64bit 스마트폰 갤럭시노트8에 설치 하기 ]

    tvheadend 64BIT 빌드하여 설치 하기/ 64bit 스마트폰 갤럭시노트8에 설치 하기[linux] 리눅스 32bit, 64bit 확인 …

    [ Hyper-V : VM의 Android ISO 설치후 초기 부팅 진행 설정 작업 ] 댓글 1

    Hyper-V : VM의 Android ISO 설치후 초기 부팅 진행 설정 작업안드로이드 ,,,,,,, 복사 않함>> 구글로그인>…


    ♥간단_메모글♥


    최근글


    새댓글



    PHP 안에 HTML ☞ 홈페이지 화면갱신 시간은 ♨
    ▶ 2024-06-26 18:47:29

    오늘의 홈 현황


    • 현재 접속자♨ 702 명
    • 오늘 가입자※ 1 명
    • 어제 가입자※ 2 명
    • 주간 가입자※ 8 명
    • 오늘 방문자 2,140 명
    • 어제 방문자 2,051 명
    • 최대 방문자 13,042 명
    • 전체 방문자 4,396,747 명
    • 전체 게시물※ 8,656 개
    • 전체 댓글수※ 24,773 개
    • 전체 회원수 11,069 명

    QR코드


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

    알림 0








    최신글↑