How to move the custom hooks in /etc/rc.d/functions.d to systemd

I have a few scripts placed in /etc/rc.d/functions.d that were launched during the boot process.
Now I moved to systemd but I have not found any documentation about how to implement those hooks in the new boot process. As far as I got I need to write customs .service files, but again I lack of infos about how..
Can anybody teach me a bit about this or link some documentation?
Many thanks

Ok, I think I need some help here.
I want to call the acpi_call kernel module to switch off the nvidia discrete card at boot. Usually I did that with
# echo '\_SB.PCI0.PEG1.GFX0._ON' > /proc/acpi/call
I wrote the following /etc/systemd/system/nvidia_off.service:
[Unit]
Description=acpi_call to switch off nvidia discrete graphic
[Service]
Type=simple
ExecStart=/bin/echo '\_SB.PCI0.PEG1.GFX0._OFF' > /proc/acpi/call
ExecStop=/bin/echo '\_SB.PCI0.PEG1.GFX0._ON' > /proc/acpi/call
[Install]
WantedBy=multi-user.target
but testing with:
#systemctl start nvidia_off.service
#systemctl stop nvidia_off.service
seems no effective. No output is produced but there is no effect on the power consumption which should be several watts lower.
I also take a look at sysctl but it seems to control only /proc/sys/anything while my module is under /proc/acpi
Any suggestion?
thanks in advance

Similar Messages

  • How to get the customized page's xml version ?

    Hi All,
    I have created some fields (of style 'MessageChoice', 'MessageLovInput') through personalization in a page and after that i navigated to the middle-tier where our MDS repository holding all the page's source file (in form of XXXXPG.xml) to get the updated version of the same page in xml version.
    But i couldn't get the latest version of page's XML file instead i found the old standard file only.
    Please help me in getting the file and guide me the path if it got stored somewhere in the architecture.
    Thank You,
    Thiyagarajan

    Dear Anoop,
    Thanks for your immediate response.
    Could you please pour your ideas how to store the custom personalizations in Unix box through Functional Administrator responsibility ?
    And one more question is as you said it will be stored in the form of xml but i have searched the page in the middle tier where it(standard one) got stored, but unable to find any one. How to find the xml file after doing the personalizations and in which path ?
    Waiting for your reply.
    Thank You,
    Thiyagarajan

  • How to create the custom infotypes in Campus Management

    Hi,
    Please help me how to create the custom infotypes in campus management.
    Thanks,
    Lakshmi.

    Hi,
    Steps to create a HR Infotype:
    1) Go to Transaction PM01.
    2) Enter the custom Infotype number which you want to create (Should be a 4 digit number, start with 9).
    3) Select the 'Employee Infotype' radio button.
    4) Select the 'PS Structure Infotype'.
    5) Click on Create... A separate table maintenance window appears...
    6) Create a PS structure with all the fields you want on the Infotype
    7) Save and Activate the PS structure
    8) Go back to the initial screen of PM01.
    9) Click on 'All' push button. It takes a few moments.
    10) Click on 'Technical Characteristics'. Infotype list screen appears
    11) Click on 'Change'(pencil) button
    12) Select your Infotype and click on 'Detail' (magnifying glass) button
    13) Give 'T591A' as subtype table
    14) Give 'T591S' as subtype txt tab
    15) Give your subtype field as subtype field
    16) Save and come back to PM01 initial screen
    17) Click on 'Infotype Characteristics' ... Infotype list screen appears
    18) Click on 'Change' (pencil) button
    19) Click on 'New Entries'
    20) Enter your Infotype number and short text
    21) Here we have to set different Infotype Characteristics as per the requirement. (Better open another session with some standard Infotype's infotype characteristics screen and use as the reference to fill yours)
    22) Save your entries.
    23) Now the Infotype is created and ready to use.
    24) If you want to change the layout of the Infotype as per your requirement...
    25) In the PM01 initial screen...Select 'Screen' radio button and give 2000 as the screen name, then click on edit.
    26) In the next screen.. Select 'Layout Editor' and click 'Change'.
    27) Screen default layout appears...here you can design/modify the screen..change the attributes of the fields..etc.
    28) Save and activate. (Don't forget to 'Activate at every level)
    Subtype Creation :
    Transaction PM01 Goto Subtype Characteristics. Click on Append and then subtype. Enter the name and description of subtype on screen.
    Then goto technical Characteristics and maintain the details of subtype there. I.e name of subtype i.e. component name defined in PSnnnn. Subtype table is T591A.
    Subty.text tab is T591S and time const tab is T591A.
    See:
    http://help.sap.com/saphelp_46c/helpdata/en/4f/d5268a575e11d189270000e8322f96/content.htm
    HR related site:
    http://www.sapdevelopment.co.uk/hr/hrhome.htm
    Enhancement of Infotype
    Check the following
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PAXX/PYINT_INFOTYP.pdf
    Infotype Enhancement overview screen
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60a7586d-edd9-2910-68a8-8204303835a1
    Cheers,
    vasavi.
    kindly reward if helpful.

  • How to create the custom table?

    Hi, how to create the custom table and how to integrate the table with defferent R/3?
    my requiremnt is i have to create the two tables and those i have to integrate with the existed R/3 and using those R/3 i have to update my custom tables .....can give me some idea?
    Tks
    DPk

    how to create the custom table
    There are two approach in creating a table.
    1. Bottom-up approach
    2. Top-down approach.
    Both are valid and you can choose which approach is suitable for you. I always use the bottom-up approach. Here are the steps to create the tables with this approach.
    1. SE11 will take you to the DDIC and enter the name of the new table to be created. Let us say Zname. Click create.
    2. Enter the short discription of the table and enter the field of the table. If it is primary key and you have to check the box.
    3. Enter the data element and double click it, you will be asked to save and will take you to data element discription page. Enter the short discription of the data element and enter the information of domain like the length of field and type of field.
    4. If you wanted to use the existing domain then its fine, or else, you have to create one. Enter the domain name in the data element page and double click it. Page will ask to save and jump to domain creation page.
    5. In the domain page, you have to save the information which you have already given in the data elements page and check it. Before going to data element page, you have to activate the domain.
    6. Go to data element page and save, check and activate.
    7. Go to main table page and save, check, and activate.
    8. Also, you have to save the technical settings of the table.
    The table is now ready for operation. You can use it in your program or you can use it to enter information.
    Check table: It is the table which will have all the information about the Foreign keys which are the primary keys in the check table.
    It can be created by creating the foreign key from the main table. Click foreign key in the main table and it will take you to a page which will ask for table name and field to which foreign key relation has to be associated. Enter the information and you can create the check table automatically.
    SM30 is used for maintenance of the table, that is to realease the errors occured during the creation of the table.
    how to integrate the table with defferent R/3
    Transport the Table to the another server/client/qas/prd
    Kanagaraja L

  • How to use the customer types in customer master data

    how to use the customer types in customer master data?
    menu path is Extras -> account group info -> customer types

    hi,
    This is an option given to you to choose (if you need to) the way you perceive this customer.Here you get options including ompetitors,Salespartner, prospect,
    default sp ,consumer.
    See it helps you to differentiate between prospect(which you may use for quotation or inquiry purpose)Sales partner and the competetor.
    I hope this clarifies your quiery.Reward points if so.
    Thanking you,
    Best regards,
    R.Srinivasan

  • How to move the data of a table from sqlplus to XML file

    Hi,
    Could you pls guide me how to move the data of a table from sqlplus to XML file.
    i want to do it from sqlplus rather than toad.pls help
    Thanks

    Oh..I'm in 9i.
    Try this out..and let me know.
    DECLARE
    CTX DBMS_XMLGEN.CTXHANDLE ;
    XML CLOB ;
    F UTL_FILE.FILE_TYPE;
    XMLC VARCHAR2(32767);
    BEGIN
    CTX := DBMS_XMLGEN.NEWCONTEXT('SELECT * FROM department1 ') ;
    XML := DBMS_XMLGEN.GETXML(CTX) ;
    XMLC:=TO_CHAR(XML);
    SHOW_ENVELOPE(XMLC);
    F := UTL_FILE.FOPEN('ATTACH_FILES','DEPT.XML', 'W');
    UTL_FILE.PUT_LINE(F,XML);
    UTL_FILE.FCLOSE(F);
    END ;
    Good luck!!!
    Bhagat
    null                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to move the value from a character field to numeric or packed decimal

    Hi,
    can anyone explain me on how to move the value from a character field to numeric or packed decimal.
    Please help me on this. Thanks...
    Regards,
    Rose.

    Hi ,
    if you use keyword MOVE u may loose the decimal and thoussan separator and if u don't want to loose them just call the FM ..HRCM_STRING_AMOUNT_CONVERT.
    i doubt wherther it is HRCM or HCRM just try using *
    this will suit ur requirement.
    Regards,
    KK

  • I have installed the LATEST VERSION of itunes in my windows and i bought the new ipad with retina display ,i had moved music into the ipad from my windows through the itunes but I DONT KNOW HOW TO MOVE THE VIDEOS IN MY VIDEOS LIBRARY OF MY COMPUTER TO MY

    i have installed the LATEST VERSION of itunes in my windows and i bought the new ipad with retina display ,i had moved music into the ipad from my windows through the itunes but I DONT KNOW HOW TO MOVE THE VIDEOS IN MY VIDEOS LIBRARY OF MY COMPUTER TO MY

    Close your iTunes,
    Go to command Prompt -
    (Win 7/Vista) - START/ALL PROGRAMS/ACCESSORIES, right mouse click "Command Prompt", choose "Run as Administrator".
    (Win XP SP2 n above) - START/ALL PROGRAMS/ACCESSORIES/Command Prompt
    In the "Command Prompt" screen, type in
    netsh winsock reset
    Hit "ENTER" key
    Restart your computer.
    If you do get a prompt after restart windows to remap LSP, just click NO.
    Now launch your iTunes and see if it is working now.
    If you are still having these type of problems after trying the winsock reset, refer to this article to identify which software in your system is inserting LSP:
    Apple software on Windows: May see performance issues and blank iTunes Store
    http://support.apple.com/kb/TS4123?viewlocale=en_US

  • How to see the customer purchase order acknowledgement ?

    How to see the customer purchase order acknowledgement ?
    in that PO ACK where we see the UOM and Qty ?
    thanks & regards,
    Srikanth.

    hi
    Customer Purchase Order is nothing but the Sales Order in your system
    Customer Po acknowledgement is nothing but the Acknowledgement that is sent out (output type BA00) to the Customer after the Sales Order has been created.
    Note: Purchase is to Customer - Sales is to you as the Vendor.
    cheers
    Nandu
    Edited by: Nanda Kumar Veeraraghavan on Apr 1, 2008 12:11 AM

  • How to move the anchor object in indesign cs2 using js?

    i can able to move the normal textframe and other objects but cant do this for anchor objects.
    syntex:  anchorobject.move([x value,y value],undefined,true)
    how to move the anchor objects?
    thanks
    subha

    Could it be that the anchord object in question won't move because you have it set to keep within margins which is preventing the move you're requesting? I've certainly run into that.
    I've also run into the situation where the object model thinks the anchored object is in one place when it is actually in another because of that same keep within margins option. In this case, a move will apparently not work because the move is invisible, it being completely outside of the margins -- although that only applies to relative moves, I think.
    Dave

  • How to move the process chain from Unassigned node to a new node in 3.5?

    Hi all,
    I have created a new process chain in the development and it is falling under the Unassigned nodes. I want to move that process chain to an another node. but i am unable to do that
    Can anyone let me know how to move the process chain from unassigned node. I have drag and dropped but still the same in BW 3.5 ?
    Thanks
    Poooja

    Hello,
    Try this....
    Double click on your process chain. Via the menu select:
    Process chain > Attributes > Display components
    Select F4 (possible entries)
    At the bottom of the window you will find a create icon
    to make your own component.
    After you created it, assign it to your process chain.
    Don't forget to save the process chain.
    Regards,
    Sivaram

  • How to move the arrows in navigation view?

    Hi, when i am using the navigation to define my page flow, i could move the page in the navigation with "SHIFT+MOUSE",but the arrow from one page to another can't be moved if i don't change position of the two pages, and when there are many pages, the arrows cross with each other, and it becomes hard for me to see them clearly. so how to move the arrows to organize them in a clearer view(Just like that in BEA Weblogic Workshop with JPF design)? is it something needes improving in Creator EA, or i just didn't find the way to do this?please help.

    Hi,
    We thank you for your valuable feedback. An RFE has been filed on your behalf for the same.
    Cheers
    Giri

  • In FF 29.0, how to move the address bar on the top of the tabs bar?

    It is OK in Firefox 28 and lower to set browser.tabs.onTop=false to move the address bar on the top of the tabs bar. But in Firefox 29, I can not find the browser.tabs.onTop
    who can tell me how to move the address bar to the top of the tabs bar?

    Here's the real, and only, solution:
    ftp://ftp.mozilla.org/pub/firefox/releases/28.0/win32/en-US/

  • How to download the custom Tables to xls from the system?

    Hi
    How to download the custom Tables to xls from the system?
    Vijay

    Hi,
    Goto SE11, in the table name field give Z*, and click on display. You will get the list of Z tables.
    Regards,
    Prabu

  • How to download the custom Reports to xls from the system?

    Hi
    How to download the custom Reports to xls from the system?
    I know the t code SE38 for reports.
    Vijay

    Hi
    Here the programa name is nothing but a report name???
    Vijay

Maybe you are looking for

  • Tuning a procedure and using dbms_job.submit proc that call's functions

    Hi I have Procedure that have 3 curosrs which are nested one below with in each other and it looks as below it's structure will look some thing look like this declare empno_fetch number; CURSOR deu_process IS SELECT empno FROM emp WHERE flg_process =

  • Recommendations for a HP LJ 3015 Replacement...

    It would be a whole lot easier if I just tossed these two 3015's out and replaced them... Anyone have a suggestion on what I should purchase? Actually they are in perfect shape... Send me your address and I will give them to you. EDIT... I have been

  • Oracle error message 1445 when executing a SAP query

    Hello experts, We are running a ECC6.0 DEV and ACC system on an Oracle database (release 10.2.0.2.0). When I execute a query in SQ01 on our acceptance system, a database error occurs (ORA-1445). However, when I execute the same query on our DEV syste

  • How to change *.flv(2) files back to *.flv

    I added closed caption on some video inserted slides on my captivate project and now the published file referenced files with an extension *.flv(2).  I can't seem to find where I change change this file back to *.flv, without affecting my closed capt

  • [iPhone SDK] hidden/white pixels in UITextView

    I'm having this issue where the first ~20 rows of pixels of a UITextView are the backgroundColor (blocking any text that is there). This only occurs if there are enough rows of text to enable scrolling. Has anyone else had this problem or know how to