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,684 / 46 Page
    [ u5pvr)내부epg 그래버 설정 에 How do I install curl in php5? 설정 사용기 ] 댓글 2

    ============= 201710-05 현재 사용환경 u5pvr 내부 epg 작용이 안되네요 =================저는 nas 서버…

    [ tvheadend 복원 재설치) h264 @ #1539 continuity counter error 때문에 … ]

    tvheadend 최신 버전 설치후 kodi 에서 빌리야드tv 음성 끊김으로 old버전 설치 진행증상 : tvheadend h264 @ #153…

    [ s ..k... v..o..d.net ] 댓글 1

    특별성명:본 사이트에서 제공하는 모든 콘텐츠는 제3자의 자원을 수집하며 모든 콘텐츠관련 저작권문제는 저희 사이트와 무관함을 성명합니다!본 사이트…

    [ 작업중_실패)PDF를 웹으로 볼수 있는 Google Docs Viewer plugin for jQuery … ] 댓글 14

    PDF를 웹으로 볼수 있는 Google Docs Viewer plugin for jQuery 첨부 파일 pc/모바일 모두 pdf보기 가능Goog…

    [ PLEX - Install Third Add-ons & Free Live Channels - Unoffici… ]

    WebTools.bundle더 자세한 정보는 위키를 참조하십시오.https://github.com/ukdtom/WebTools.bundle/wi…

    [ apt-get(Advanced Packaging Tool)은 우분투(Ubuntu)를 포함안 데비안(Debia… ]

    apt-get(Advanced Packaging Tool)은 우분투(Ubuntu)를 포함안 데비안(Debian)계열의 리눅스에서 쓰이는 팩키지 …

    [ 작업중)리눅스 연속shell명령을 이용하여 초기설치 파일 ]

    ■[쉘스크립트] 쉘스크립트로 다수의 작업을 병렬처리 하기 – 아이군의 블로그https://www.google.co.kr/amp/theeye.pe…

    [ Tvheadend 먹스와 서비스 매핑이 되지 않을때 Tvheadend에 누락된 epg 채널 등록하기. ] 댓글 1

    Tvheadend 먹스와 서비스 매핑이 되지 않을때 Tvheadend에 누락된 epg 채널 등록하기.참조 사이트 정보 내용 >Tvheade…

    [ 크롬 http을 입력하면 https 으로 자동강제 전환(리다이렉트) 해제 방법 ]

    크롬 http을 입력하면 https 으로 자동강제 전환(리다이렉트) 해제 방법https://11q.kr/8899http:// 웹사이트 자동으로…

    [ 데비안 8.3에 MC (Midnight Commander Tool) 설치 방법 ]

    데비안 8.3에 MC (Midnight Commander Tool) 설치 방법자정 사령관 도구가 성공적으로 실행 중입니다.쉬운 설치 과정이 아니…

    [ https://synocommunity.com/packages ]

    [GUIDA] Repositories Index: Elenco delle sorgenti aggiuntive◎ ■ ▶ ☞ ♠ 정보찾아 공유 드리…

    [ 리눅스 날짜 기준으로 파일 삭제하기 ] 댓글 1

    리눅스 날짜 기준으로 파일 삭제하기2018-05-11편집역링크토론리눅스 파일 생성일 기준으로 삭제리눅스 날짜 기준으로 파일 삭제목차1방법 1: …


    ♥간단_메모글♥


    최근글


    새댓글



    PHP 안에 HTML ☞ 홈페이지 화면갱신 시간은 ♨
    ▶ 2024-07-04 01:54:40

    오늘의 홈 현황


    • 현재 접속자♨ 656 명
    • 오늘 가입자※ 0 명
    • 어제 가입자※ 7 명
    • 주간 가입자※ 16 명
    • 오늘 방문자 816 명
    • 어제 방문자 1,946 명
    • 최대 방문자 13,042 명
    • 전체 방문자 4,412,114 명
    • 전체 게시물※ 8,674 개
    • 전체 댓글수※ 24,821 개
    • 전체 회원수 11,086 명

    QR코드


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

    알림 0








    최신글↑